Solved

Tool Tips problem

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

758 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

18 Experts available now in Live!

Get 1:1 Help Now