Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - ToolTip Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ToolTip Problem

 Post Reply Post Reply
Author
Message
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Topic: ToolTip Problem
    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.

 

 

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2005 at 4:40pm

Oleg

Your recommendation fixed the problem.  Thanks.

Ken

 

 

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.203 seconds.