Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Disable display of overlay icons

 
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: Tue Aug 26, 2008 10:17 am    Post subject: HOWTO: Disable display of overlay icons

Some node items such as shortcuts and network shares display a small overlay icon on top of the normal icon. To disable display of these overlay icons, use the OverlayIconIndex property in the AfterNodeAdd event as follows :

[C++]
void CFldrViewVCDlg::OnOnAfterNodeAddFolderviewctrl1(LPDISPATCH Node)
{
CTreeNode node;
node.AttachDispatch(Node,FALSE);
node.SetOverlayIconIndex(0);// FOVOverlayIconNone = 0 ;
}


[VB6]
Private Sub fldrView_OnAfterNodeAdd(ByVal Node As FolderViewControl.ITreeNode)
Node.OverlayIconIndex = FOVOverlayIconNone
End Sub.


Note:
You can also display a different (non-default) overlay icon using the OverlayIconIndex property
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