Adding tooltips for normal buttons/static text/checkboxes etc.

Adding tooltips for normal buttons/static text/checkboxes etc.

Post by Red Falco » Mon, 12 Jul 1999 04:00:00



Hi All!

My question is the following:
In Winamp (the mp3 player)
I saw that they had added tooltips
to static text/button/sliders and checkboxes
But how do you do this?

thanks in advance

Red Falcon

 
 
 

Adding tooltips for normal buttons/static text/checkboxes etc.

Post by Scott Tunstal » Tue, 13 Jul 1999 04:00:00


Use the MFC CToolTipCtrl and the AddTool command.

For more details, please go to www.codeguru.com

--
Scott Tunstall
MFC & COM consultant
FirstTel systems Ltd
Glasgow
Scotland

Get boulderdash source code at: www.kwikrite.clara.net/bdash/

Tel: 0141 207 3102


>Hi All!

>My question is the following:
>In Winamp (the mp3 player)
>I saw that they had added tooltips
>to static text/button/sliders and checkboxes
>But how do you do this?

>thanks in advance

>Red Falcon


 
 
 

1. 3D checkboxes without any static text - focus rectangle

I have some columns of 3D checkbox controls that I want to put under a
single column header.  I don't want there to be text associated with
each checkbox.  I am unable to get them to show a focus
rectangle when they have the focus (which is usually around the static
text associated with the control).  I have tried subclassing the
checkbox and, on the killfocus, getting the size of the control, creating
a larger rectangle and calling SetFocusRect but this does not
seem to work.  

Does anybody have any ideas?

I'm using Visual C++ 1.52 under Windows 3.1.

Thank you for any insight you may have, Ellen

2. Win Media Player running too fast

3. Static with normal and italic text?

4. Restoring message folders

5. String resource format for dialog toolbar button & tooltip text

6. Need Virus S/W reccomendation quick

7. When making CD's, how to add text, i.e. Albumn title, track name, etc.

8. Can't Install or run Windows Media Player

9. activating a normal button from <ENTER> button

10. Adding menu items, buttons, etc. to commercial apps?

11. Wrapping Text In Static Text Controls

12. HTML Code "Sneaking" into Plain Text, etc., etc.

13. Add text to the ToolsBar's button control in MFC ??