Robert Apostolico
Guest
|
Hello.
I've created a Command Item add-in. When the icon is clicked, I'd like to display our add-in's pop-up menu.
I've determined that I can easily access IEApp.Left, .Width, .Top, .Height and .HWnd.
What I can't seem to figure out is how to properly locate the TOP of our menu/pop-up.
The IEApp.Top refers to the TOP of the IE application window. Between that and the actual HTML/webBrowser control, there could be numerous other toolbars/menus. How do I determine that offset?
Additionally (and slightly off topic) is if/when our menu appears, someone could move/size the IE App.
Any suggestions on subclassing the IE App window so our menu appears "glued to it" ?
Anyone looking to create a pop-up menu from a Command Item would be looking for similar functionality.
An example of this would be great! (C#)
Thank you. |
|
Andrei Smolin
Add-in Express team
Posts: 18652
Joined: 2006-05-11
|
|