Solved

tooltips in CView

Posted on 1997-10-02
5
437 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
ID: 1307354
Edited text of question
0
 
LVL 8

Expert Comment

by:gelbert
ID: 1307355
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
ID: 1307356
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
ID: 1307357
My email address is mguedes@utad.pt. thank you RONSLOW for your answer. :>
0
 
LVL 10

Expert Comment

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

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 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