Solved

Tool Tips problem

Posted on 1998-11-16
2
208 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now