Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO : Determine whether context menu is being shown for a shortcut

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



Joined: 18 Jul 2005
Posts: 731

Posted: Sat Aug 02, 2008 6:20 am    Post subject: HOWTO : Determine whether context menu is being shown for a shortcut

Use the following code in the OnGetMenuItems method of your contextmenu extension

[C#]
if ((e.Flags & LogicNP.EZShellExtensions.QueryContextMenuFlags.VerbsOnly)!=0)
{
// File is shortcut...
}


[VB.Net]
If (e.Flags And LogicNP.EZShellExtensions.QueryContextMenuFlags.VerbsOnly) Then
' File is shortcut...
End If
Back to top
Display posts from previous:   
Forum Index -> EZShellExtensions.Net All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group