Skip to main content
gamedev.net
🔒 Locked

Tooltip to a button

Started by Zeblar Nagrim 5 replies 500+ views
kmsixpence
kmsixpence
Sorry, but i''m not really sure what a tooltip is. I think it is what I call a over_button_thingy, the tip that comes up when you are over a button.Is that what you mean?

Well, I''d get the location of the button. Then I''d find the width and height and store it in a RECT. Then get the curser pos and test if its in the rect. If it is, I''m not really sure whats next. Maybe a popup window with text inside?
scaught
scaught
Did you try using a CToolTipCtrl?
scaught
scaught
Yeah. If you''re not using MFC, then...uh...I don''t know what to suggest.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.