Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to add tooltip for CStatic control

Posted on 2006-07-13
4
Medium Priority
?
853 Views
Last Modified: 2013-11-20
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.
0
Comment
Question by:MichaelRubinshteyn
4 Comments
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 500 total points
ID: 17105984
>>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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question