How to add tooltip for CStatic control

I would like to know how to add tooltip to a CStatic control.  I can make the tooltip work for other controls, but not CStatic.  Thanks for your help.
MichaelRubinshteynAsked:
Who is Participating?
 
mahesh1402Connect With a Mentor Commented:
>>I can make the tooltip work for other controls, but not CStatic

you Need to have the SS_NOTIFY flag ON for your static window..You may  enable Notifications for the CStatic to make the Tooltip work. In the resource editor set the Notify check box and assign a unique id for the static control other than IDC_STATIC..

Refer :
http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_21894914.html
http://www.codeguru.com/Cpp/controls/combobox/tooltips/article.php/c9283/

-MAHESH
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.