Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO : Use custom overlay icons in FolderView ActiveX

 
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: Fri Oct 07, 2005 4:47 pm    Post subject: HOWTO : Use custom overlay icons in FolderView ActiveX

FolderView ActiveX can display custom overlay icons ( other than the shortcut and shared overlay icons ) for nodes. The following sample code demonstrates how to do this :

' add the overlay icon to FolderView. This method returns the index of the added overlay icon in the FolderView image list
overlayIconIndex = folderView1.AddCustomIcon2("c:\customoverlayicon.bmp",Nothing)

'Next, use the SetOverlayIcon method to set this index as an overlayicon index, this method returns the index of the overlay icon.
overlayIndex = folderView1.SetOverlayIcon(overlayIconIndex, FIVILLarge )

'Next use the returned overlayindex with nodes in FolderView
folderView1.SelectedNode.OverlayIconIndex = overlayIndex
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