[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 456
  • 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

Featured Post

Independent Software Vendors: 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!

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