Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting mouse location over a menu... 1

Status
Not open for further replies.

XPPROGRAMMER

Programmer
Nov 15, 2004
44
0
0
US
Hello everyone,

when setting the statusBar as a simpleText -- how can I
determine the location of the mouse over the DropDown menu
options, when the user is scrolling up or down the menu?

thanks for the help.
 
Windows sends the WM_MENUSELECT message when the user highlights a menu item using mouse or keyboard.

I think that you want to do that using VB. I had posted complete code regarding this in VB5/6 forum but sadly, the thread has been deleted.

However, you might be interested in seeing these articles and resources.

Hook Up Custom Callback Functions to Create Menu Bar Help
MenuHelp (mvps)
MenuHelp function
WM_ENTERMENULOOP, WM_MENUSELECT, WM_EXITMENULOOP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top