You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I propose that we add the Application.EnableVisualStyles() statement to our application.
It's an innocent-looking one-line statement and the Microsoft documentation is more a black-box than a detailed description about the individual features (link). So I cannot provide a list of expected changes.
However I missed certain functionality, which will be solved by the Application.EnableVisualStyles() statement:
Pressing Ctrl+A in the text filter Textbox doesn't select all content. However, I regularly use it (in all other applications) to select the entire text and then press delete. Application.EnableVisualStyles() will solve it - although I don't have an idea why this is related to 'VisualStyles'. But I'm glad that I got a hint in this direction by a google search.
The icon in the MessageBox is somehow pixelated. I guess that's related to my 4k display.
Again, Application.EnableVisualStyles() will solve this.
Please have also close look to the buttons in the two screenshots: the corners are now rounded and there's a visual hover effect when moving the mouse over a button. Not only in this MessageBox dialog, but for all buttons - for example the TestParameter dialog.
However, that's only one example - in general I understand it that with the EnableVisualStyles() statement the built-in Windows theming to style controls is used instead of the "classic Windows" look and feel. If the computer is running without a style, then you wouldn't notice any difference.
So overall, I've the impression that we should use this statement.
Or has this already been discussed and decided in the past?
BTW: If creating a new Windows Forms application from scratch, the Application.EnableVisualStyles() is already included now.
Environment (please complete the following information):
TestCentric Version:2.0.0-beta6
The text was updated successfully, but these errors were encountered:
Describe the bug
I propose that we add the Application.EnableVisualStyles() statement to our application.
It's an innocent-looking one-line statement and the Microsoft documentation is more a black-box than a detailed description about the individual features (link). So I cannot provide a list of expected changes.
However I missed certain functionality, which will be solved by the Application.EnableVisualStyles() statement:
Again, Application.EnableVisualStyles() will solve this.

Please have also close look to the buttons in the two screenshots: the corners are now rounded and there's a visual hover effect when moving the mouse over a button. Not only in this MessageBox dialog, but for all buttons - for example the TestParameter dialog.
However, that's only one example - in general I understand it that with the EnableVisualStyles() statement the built-in Windows theming to style controls is used instead of the "classic Windows" look and feel. If the computer is running without a style, then you wouldn't notice any difference.
So overall, I've the impression that we should use this statement.
Or has this already been discussed and decided in the past?
BTW: If creating a new Windows Forms application from scratch, the Application.EnableVisualStyles() is already included now.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: