Different tooltip to explain the split button menu |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 20 November 2009 at 3:54pm |
"For split buttons, use a different tooltip to explain the split button menu."
Haven't seen this in your samples, so I'm wondering if it's even possible with 13.2.1.
I want my ribbon applications to follow Microsoft guidelines, and here it seems CJ fails. Looking at the code, I sense this one could be tricky to implement. Or maybe it's already implemented? Do tell!
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Again its not "requare" - but "suggested".
A lot of split items in word that don't have additional tooltip.
You can override CXTPControlPopup and its OnToolHitTest method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
|
We wanted this too.
As Oleg says,
You can override CXTPControlPopup and its OnToolHitTest method.
But how do you get all the CJ code to create your class? For instance, when one calls LoadMenu, will CJ create your class or their own? When I stepped thru the CJ code, I found the hard-coded calls to create their class:
CXTPControlPopup* pControlPopup = (CXTPControlPopup*)CXTPControlPopup::CreateObject(); I never figured out a way to cause CJ to use my runtime class such as I can do when I create my subclassed ribbon using the command bars Add method where I pass in the runtime class name. I ended up having to copy a lot of code just to change the class that is created. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |