Gürcan YÜCEL.
Guest
|
Hi,
Im writing a MS Word Addin. In TAdxCommandBar I placed buttons and TAdxCommandBarPopup. I need an event fired before popup. How can I do that? Thanks.
Gürcan YÜCEL. |
|
Eugene Starostin
Guest
|
Hi Gürcan,
There is no easy way. Only the low level way with WinAPI. |
|
Gürcan YÜCEL.
Guest
|
Hi,
While reading the help files, I learned that I can use TAdxBuiltInControl to hook default buttons with officeID property. I gave a OfficeID(9999) to my TAdxCommandBarPopup. And unregister/register it again. With your "Office Built in control scanner" I scan the MS Word. But my OfficeID is 1 again. Is it possible to set it? If yes, can I use to hook TAdxBuiltInControl to TAdxCommandBarPopup?
Thanks again. |
|
Eugene Starostin
Guest
|
Gürcan,
You cannot "hook" pop-ups. They do not have events.
Look at the CommandBarPopup interface in Word VBA help. |
|