Hi All,
I'm developing a C# gadget and I'd like to change the default options menu,
i.e. the menu that has the following values: Collapse
Options
About ..
Undock ..
Remove.
I'd like to add another options. I saw that there's a function declared:
// set handler for initializing the plugin menu. Function prototype should
be
// AddCustomMenuItems(menu)
[propput, id(DISPID_GDD_PH_ON_ADDCUSTOMMENUITEMS)]
HRESULT onAddCustomMenuItems([in] VARIANT handler);
But it's not clear to me how to use it .. How do I access the menu object
(if there is one) and manipulate it?
Any help would be most appreciated.
Thanks!
Regards,
Rais, Ron