I would like to add menu to right-click of Object Style panel. Which interface would I use to get UIDRef of Style or Style Group upon which right-click was initiated.
Thanks in advance to Dirk & all you guys.
The IPMUnknown* delivered to your action component usually(!) is the kObjStylesTreeNodeWidgetBoss below the mouse, then IID_IUIDDATA will give you the object style. Be prepared for different widget values though, e.g. if you reuse the same menu in the panel flyout to work on the selection, or if you allow for keyboard shortcuts.