Solved

tooltips in CView

Posted on 1997-10-02
5
419 Views
Last Modified: 2013-11-19
I want display tooltips in drawing objects and i don´t no when i have to override the OnToolHitTest and define the handler for the TTN_NEEDTEXT notification from the tooltip because in my CView derived class it those not match(the documentation say that the TTN_NEEDTEXT notification message will be send to the parent window to retrieve the text, what's the parent window of my CView).

Can anyone help me!!????
0
Comment
Question by:mguedes
  • 2
  • 2
5 Comments
 

Author Comment

by:mguedes
Comment Utility
Edited text of question
0
 
LVL 8

Expert Comment

by:gelbert
Comment Utility
Documentation says:
This notification message is sent to the window specified in the hwnd member of the TOOLINFO structure for the tool. This notification is sent only if the LPSTR_TEXTCALLBACK value is specified when the tool is added to a ToolTip control.
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 10 total points
Comment Utility
I have source code that I can send to you for doing tooltip in a view for drawing objects.

Please post your e-mail address.

0
 

Author Comment

by:mguedes
Comment Utility
My email address is mguedes@utad.pt. thank you RONSLOW for your answer. :>
0
 
LVL 10

Expert Comment

by:RONSLOW
Comment Utility
I'll send you some code ASAP.. look out for it in your e-mail inbox !!

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 105
Generic progress indicator 6 109
WinWaitActive parameters 12 31
only14 challenge 19 63
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

10 Experts available now in Live!

Get 1:1 Help Now