Print Page | Close Window

ToolTip Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2712
Printed Date: 01 July 2024 at 5:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ToolTip Problem
Posted By: Kenneth
Subject: ToolTip Problem
Date Posted: 11 August 2005 at 4:21pm

I have a toolbar with one button created by:

 if(lpCreateControl->nID == ID_MRUHOST)
      {
      lpCreateControl->controlType = xtpControlSplitButtonPopup;
      return(TRUE);
      }

This works ok, but I do not get a tooltip displayed for this button.  The id is ID_MRUHOST, and it has an associated tooltip string in the resource file.  Tooltips are displayed correctly for all the other buttons on the toolbar.  What needs to be done to get the tooltip displayed?

It would also be very useful if the XTPToolTipContext would allow for the setting the delay times as can be done in the standard MFC CToolTipCtrl using the SetDelayTime() function passing TTDT_INITIAL and TTDT_AUTOPOP.

 

 

 




Replies:
Posted By: Oleg
Date Posted: 12 August 2005 at 3:29pm

Agree, it looks like a bug. We fixed it for next version.

As workaround just open resource menu ID_MRUHOST and delete caption (make it empty) of first level popup.

 

Second will be added.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Kenneth
Date Posted: 12 August 2005 at 4:40pm

Oleg

Your recommendation fixed the problem.  Thanks.

Ken

 

 




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