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

TB_SETHOTITEM problem

Status
Not open for further replies.

LuckyLuke

Programmer
Mar 28, 2001
188
NL
Hi,

I made a menubar from a toolbar and a rebar and when a dropdown button is pressed i display a menu with TrackPopupMenu. Before I use this function I send the TB_SETHOTITEM message to the toolbar so it doesn't keep the old button hot, since it receives no input when TrackPopupMenu is called. Although the toolbar says that i succesfully changed the hot item, it doesn't display so. The 'old' hot item remains hot, even when I invalidate the toolbar. If I don't call the TrackPopupMenu function, the toolbar shows the new hot item correct. Anyone has any idea how to solve this small bug?

Thanks in advance,

LuCkY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top