Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to add tooltip for CStatic control

Posted on 2006-07-13
4
Medium Priority
?
824 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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