Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How do I use CXTPToolTipContext with CFormView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I use CXTPToolTipContext with CFormView

 Post Reply Post Reply
Author
Message
PierreL View Drop Down
Groupie
Groupie
Avatar

Joined: 01 September 2006
Location: Canada
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote PierreL Quote  Post ReplyReply Direct Link To This Post Topic: How do I use CXTPToolTipContext with CFormView
    Posted: 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
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.031 seconds.