Solved

tooltips in CView

Posted on 1997-10-02
5
443 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 116
Generic progress indicator 6 121
Fibonacci challenge 11 140
Annoying "thing" blocks my view 4 143
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.

737 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