Print Page | Close Window

How do I use CXTPToolTipContext with CFormView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8789
Printed Date: 14 November 2025 at 3:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I use CXTPToolTipContext with CFormView
Posted By: PierreL
Subject: How do I use CXTPToolTipContext with CFormView
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net