Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

INFO: Item thumbnails are not displayed in Thumbnail mode if Application.EnableVisualStyles() method is used.

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



Joined: 18 Jul 2005
Posts: 731

Posted: Thu Sep 15, 2005 8:01 am    Post subject: INFO: Item thumbnails are not displayed in Thumbnail mode if Application.EnableVisualStyles() method 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 the Application.EnableVisualStyles() method is used in your application, item thumbnails are not displayed in FileView's Thumbnail mode. Check boxes are also not visible even if ShowCheckBoxes property is set to True.

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() does 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 -> FileView.Net/WPF All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group