1 Attachment(s)
PopUpMenu; x y coordinates [WORKAROUND FOUND]
Hi everyone,
I'm facing a strange problem with the PopUpMenu method. I'm building a plugin for Internet Explorer, and therefore my project is an ActiveX DLL. So when executed the Internet Explorer window hosts my DLL.
Now I simply want to pop up a menu from a button on my IE Toolbar. Usually I use the following code for that:
VB Code:
PopupMenu "mnuFile", , Command1.Left, Command1.Top + Command1.Height
In this case, however, it does not work at all. The menu appears somewhere on the page instead of directly under the button.
See the screenshot for an example of what I mean (the menu appears after clicking the 'Content Creator' button, and should be directly under the button).
Now there must be a way to get that menu to pop up where I want it to. Any thoughts? :)