Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 Tech Support » minimize/maximize/close icons in the ribbon issue Collapse All
Subject Author Date
Dominik Braendlin Jan 4, 2011 - 4:11 AM

Dear Tech Support,

I might have found the reason for a side effect that I have reported earlier.

Please find a list of Threads involved:




 

First I needed a way to show / hide groups in the ribbon.  Please refer to thread 2.


      m_wndRibbonBar.SetButtons( NULL );

      m_wndRibbonBar.SetButtons( m_pRibbonNode );

      m_wndRibbonBar.Ribbon_UpdateLayout();


Thread 2 solved the show/hide issue.

But then I had to report that I am missing the minimize/maximize/close icons in the ribbon. Please refer to thread 1.

Then I have found thread 3 that does that show/hide exactly the way I need it but also causes the same side effect as I have in my application. Please refer to the below zip file link.


Now the problem:

After the first show/hide operation where SetButton(NULL) SetButton(m_pRibbonNode) is involved the icon of the File menu button in the ribbon disappears and with it also the Max/Min/Close icons of the ribbon. Please check the zip project.

Could you please solve that problem?

Thanks

Regards,

Adrian