?
Solved

tooltips in CView

Posted on 1997-10-02
5
Medium Priority
?
449 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 30 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 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