Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Mon Nov 06, 2006 8:38 am Post subject: HOWTO : Add owner drawn menu items in a context menu extension |
|
|
To add owner drawn menu items in a context menu extension, set the OwnerDraw property of the ShellMenuItem to True and then override the OnMeasureMenuItem and OnDrawMenuitem of your ContextMenuExtension derived class.
See the OwnerDrawContextMenuExtensionSample that comes with EZShellExtensions.Net for the complete code. |
|