Solved

How to add tooltip for CStatic control

Posted on 2006-07-13
4
723 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 125 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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