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
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