Solved

Tool Tips problem

Posted on 1998-11-16
2
212 Views
Last Modified: 2013-11-20
Our application is a SDI.  We display tool tips in the client area.  We use CToolTipCtrl class for the tool tip display.  Everything is fine until a dialog box is popped.  Once a dialog box( say any dialog box like about etc.,) is displayed and closed the tool tip is not at all displayed.  In the create function of the CToolTipCtrl it is said that the handle to the window should be usually a dialog.  But for us it is CSrollView.
But the same works when we the Win32 calls like CreateWindowEx and sendMessage for the tool tip.
0
Comment
Question by:necfm
2 Comments
 
LVL 3

Accepted Solution

by:
stefanr earned 10 total points
ID: 1324766
Override the PreTranslateMessage virtual member function using ClassWizard; call the Activate member function of your CToolTipCtrl, and then the RelayEvent member function. There is a Knowledge Base article about this (Q143313).
0
 

Author Comment

by:necfm
ID: 1324767
Thank You.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

790 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