Jump to content
  • Advertisement
Sign in to follow this  
BNY

Tool / Status messages in Win32 (C++)

This topic is 3965 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm programming an application in Visual C++ / Win32 and one thing I'm confused about is how I can post information in the status bar of a window when the mouse hovers over a toolbar button. I have no problems with tooltips though. At first I counted on processing the TTN_SHOW and TTN_POP messages and loaded the appropriate string into the status bar when I get these, but it doesn't work well in some cases. I've also tried using TBN_HOTITEMCHANGE which works immediately and very well, but doesn't seem to handle the mouse moving off of a disabled button since I don't get any special notifications when this happens... maybe I could check if a control is disabled first, and then process something from there. I've noticed that in a lot of other applications, when the mouse hovers over a toolbar or rebar button, the status bar waits a split second before posting the information, then a little bit later the tooltip shows up. Is there a special message I'm not catching? Maybe this only works with rebar controls instead of toolbars?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!