Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Set a 'special' folder such as the Control Panel, My Network Places, etc as the root folder.

 
Subscribe to the RSS feed for this forum  Forum Index -> FolderView ActiveX Control
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Wed Jun 18, 2008 5:00 am    Post subject: HOWTO: Set a 'special' folder such as the Control Panel, My Network Places, etc as the root folder.

Special folders are folders such as My Computer, Control Panel, My Network Places, My Documents, Windows directory, etc. See the SpecialFolderTypes enumeration for a complete list of special folders.

Use the SetSpecialFolderAsRoot() method of FolderView class to set one of the special folders as the root node of FolderView . For example, to set the 'Control Panel' node as root node, use the following code :

[VB6]
fldrVw.SetSpecialFolderAsRoot (SpecialFolderTypes.Controls)

[C++]
//For SpecialFolderTypes.CONTROLS, value = 3
m_fldrVw.SetSpecialFolderAsRoot(3);
Back to top
Display posts from previous:   
Forum Index -> FolderView ActiveX Control All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group