Solved

How to add tooltip for CStatic control

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
no14 challenge 14 80
Sed question 2 140
Detect file exist or not 3 215
Change to event 1 138
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

710 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