Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbon-Style Tooltips: Two Questions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon-Style Tooltips: Two Questions

 Post Reply Post Reply
Author
Message
Jayonas View Drop Down
Newbie
Newbie


Joined: 28 September 2007
Location: United States
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jayonas Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon-Style Tooltips: Two Questions
    Posted: 04 October 2007 at 3:21pm
Do you provide a way to enable the "Press F1 for more help" message at the bottom of ribbon-style tooltips? I couldn't find anything in the docs or source code that appears to do it. I thought maybe it would show up automatically for controls with a HelpId set, but that didn't work either. I would upload an example image from Office, but I don't appear to have the necessary permission.. even though I was able to upload images to a post last week.

Another, similar question: is there an easy way to provide alternate or additional tool tip text when a control is disabled? Office doesn't do it much, but one of their UI guidelines includes having tooltips that explain why a control is disabled. I presume that I could just use SetDescription whenever the enabled state of a control changes, but I thought you might have something baked in for this purpose.

Thanks!
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: 05 October 2007 at 3:35am
Hello,
 
1. Sorry, ther is no way. Think we will add it for future releases.
 
2. You can add Update handler for command id and manually set tooltiptext for enabled/disabled stats.
 
CXTPControl* pStateCombo = CXTPControl::FromUI(pCmdUI);
 if (pStateCombo) pStateCombo ->SetTooltIpText(strTip);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Jayonas View Drop Down
Newbie
Newbie


Joined: 28 September 2007
Location: United States
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jayonas Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2007 at 10:38am
I'll look forward to that feature in a future release. Thanks for your response!
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2010 at 2:38pm
> 1. Sorry, there is no way. Think we will add it for future releases.

Oleg made this statement quite a while back (October of 2007). Is this capability present in current (v13.3) release? I can't seem to find any information on it.
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.234 seconds.