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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detect if a menu is open

Status
Not open for further replies.

dds82

Programmer
Joined
Jun 5, 2002
Messages
251
Location
US
Does anybody know how to detect if my window's menu is currently dropped down?

Thanks.
 
Never mind, found it.

Track WM_INITMENUPOPUP and WM_EXITMENULOOP; keep a state variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top