![]() |
How do I use CXTPToolTipContext with CFormView |
Post Reply
|
| Author | |
PierreL
Groupie
Joined: 01 September 2006 Location: Canada Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: How do I use CXTPToolTipContext with CFormViewPosted: 14 November 2007 at 4:39pm |
|
Hello, I'm hoping someone can shed some light as to how to use the CXTPToolTipContext in the following context (if at all possible). I have tried various approaches but none seem to work...
I have a CXTPFrameWnd-derived class (not using the Doc/View architecture). This frame has a CXTSplitterWnd member. This 2 rows splitter hosts a tabbed view in one row and a CWnd-derived class in the other. (The tabbed view is a CView-derived class that has a CXTPTabControl)
My tabbed views are CFormView (FV) derived classes. I'd like to use the CXTPToolTipContext in order to have 'xtpToolTipOffice2007' style tooltips for some targeted controls in my FVs.
I've tried creating a CXTPTooltipContext member in my FVs and calling 'SetModuleToolTipContext' in the 'OnInitialUpdate' handler (right after 'EnableTooltips()'). I've also set the style to 'xtpToolTipOffice2007', enabled the Title & Description and so on... Then I override the 'OnToolHitTest' and call 'CXTPToolTipContext::FillInToolInfo' when appropriate. Nothing happens.
I've tried various combinations and none enable me to see a tooltip with an image, title & description.
![]() Thanks for your time,
Peter
P.S.: I'm using Toolkit Pro 10.3.1
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |