Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Double click on application title bar Collapse All
Subject Author Date
himanshu joshi Jan 3, 2007 - 4:07 AM


In my application i have used ribbon control 4 tabs on it.
each tab contains certaing ribbon groups and inside that butoons as ribbon nodes
When i double click on the title bar of my application those groups shrink automatically .Again when i double click on title bar i could not see the buttons inside ribbon group they become invisible.

Could you suggest some solution

Thanks in advance.

Sergiy Lavrynenko Jan 4, 2007 - 1:37 AM

Dear Himanshu Joshi,

I guess there must be something wrong with the ribbon bar initialization in your project. Could you show some code snippets which are creating ribbon node trees for tab pages?

himanshu joshi Jan 4, 2007 - 2:00 AM


Please find the code below

CExtRibbonNode * m_pRibbonNode = new CExtRibbonNode
CExtRibbonNodeTabPageCollection * pRibbonNodeTabPageCollection = new CExtRibbonNodeTabPageCollection
CExtRibbonNodeTabPage * pRibbonNodeTabPage = new CExtRibbonNodeTabPage( 0L, NULL,TabName );
m_pRibbonNode->InsertNode( NULL, pRibbonNodeTabPageCollection );
pRibbonNodeTabPageCollection->InsertNode( NULL,pRibbonNodeTabPage);

CExtRibbonNodeGroup * pRibbonGroup =    new CExtRibbonNodeGroup(11111);
pRibbonGroup->SetTextInToolbar( GroupName );
pRibbonNodeTabPage->InsertNode( NULL, pRibbonGroup);

CExtRibbonNode * pNodeRulerFileClevel = new CExtRibbonNode(Id , 0, NULL, 0,ButtonText);


Sergiy Lavrynenko Jan 9, 2007 - 7:22 AM

Dear Himanshu Joshi,

This code snippet looks correctly. Could you re-produce the problem by modifying the RibbonBar sample application? I guess this should not be very difficult. If yes, then please sent it to the support mailbox at this web site.