Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Tooltip on Dialog Sample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tooltip on Dialog Sample

 Post Reply Post Reply
Author
Message
Surbhi View Drop Down
Groupie
Groupie


Joined: 08 July 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Surbhi Quote  Post ReplyReply Direct Link To This Post Topic: Tooltip on Dialog Sample
    Posted: 22 September 2008 at 2:20am
Sir,
 
Please guide me the steps for getting for showing me the Tooltip with theme and description of Caption for a button instead of plain Tooltip
 
 
Thanks & Regards,
Surbhi Mehta 
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 891
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2008 at 6:05pm
I am not sure but you may be able to do this by geting the control and setting the tooltip string to the empty string (CJ may default to the description).
 
If that doesn't work you can trap OnToolHitTest and call the static function, CXTPToolTipContext::FillInToolInfo where you can provide whatever string you desire. So for instance you can get the caption from the control and pass it into FillInToolInfo.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.267 seconds.