• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • Last Modified:

tooltips in CView

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
mguedes
Asked:
mguedes
  • 2
  • 2
1 Solution
 
mguedesAuthor Commented:
Edited text of question
0
 
gelbertCommented:
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
 
RONSLOWCommented:
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
 
mguedesAuthor Commented:
My email address is mguedes@utad.pt. thank you RONSLOW for your answer. :>
0
 
RONSLOWCommented:
I'll send you some code ASAP.. look out for it in your e-mail inbox !!

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now