Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

INFO: Checkboxes not seen if Application.EnableVisualStyles is used

 
Subscribe to the RSS feed for this forum  Forum Index -> FolderView.Net/WPF
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Tue Jun 20, 2006 2:09 am    Post subject: INFO: Checkboxes not seen if Application.EnableVisualStyles is used

Note : This issue does not apply to v9.0 and later versions of the control and has been fixed in these versions.

If ShowCheckBoxes property is set to True and the Application.EnableVisualStyles() method is used in your application, blank spaces are displayed instead of checkboxes at run-time even though they are seen correctly at design-time. This happens due to a bug and various timing issues with the Application.EnableVisualStyles() method.

To resolve this issue, call Application.DoEvents() immediately after Application.EnableVisualStyles().

Visual Studio.Net 2005/.Net Framework 2.0 Note :
When using Visual Studio.Net 2005/.Net 2.0, using Application.DoEvents() might not resolve the issue. The issue can be resolved by using an application manifest file instead of Application.EnableVisualStyles().

A manifest file is a simple xml file which tells the OS information about your application. A sample manifest file can be downloaded from here. To correctly use this manifest file, you must put it in the same folder as your application and rename it as follows : if your exe filename is MyApp.exe, rename your manifest file to MyApp.exe.manifest
Back to top
Display posts from previous:   
Forum Index -> FolderView.Net/WPF All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group