V
vsimionescu
Hello
I'd like to be able to create a drop-down button, that is like the
back / fwd buttons, on the IE standard toolbar. I've searched for
ways, the best I could find is this:
http://msdn.microsoft.com/library/d...tmltechcol/cols/dnwebteam/webteam11062001.asp
Basically, it uses window-level API functions like GetCursorPos,
WindowFromPoint and SendMessage to retrieve a handle of the button
control that sent the original message (which it cannot obtain
otherwise), find out the cursor position, display the drop-down menu,
take the selection then hide the menu.
It's somewhat non-standard for my taste but I guess it should work.
Does anybody know of a better way ? Also, does anybody know if this
works for IE7, or if there is another better way for IE7 ? What about
Vista, is all this still supported ?
Regards
V. Simionescu
I'd like to be able to create a drop-down button, that is like the
back / fwd buttons, on the IE standard toolbar. I've searched for
ways, the best I could find is this:
http://msdn.microsoft.com/library/d...tmltechcol/cols/dnwebteam/webteam11062001.asp
Basically, it uses window-level API functions like GetCursorPos,
WindowFromPoint and SendMessage to retrieve a handle of the button
control that sent the original message (which it cannot obtain
otherwise), find out the cursor position, display the drop-down menu,
take the selection then hide the menu.
It's somewhat non-standard for my taste but I guess it should work.
Does anybody know of a better way ? Also, does anybody know if this
works for IE7, or if there is another better way for IE7 ? What about
Vista, is all this still supported ?
Regards
V. Simionescu