Show CMFCRibbonStatusBar

Posted by praetorian20 on Stack Overflow See other posts from Stack Overflow or by praetorian20
Published on 2010-04-12T04:51:45Z Indexed on 2010/04/12 4:53 UTC
Read the original article Hit count: 713

Filed under:
|

Hi, I'm creating a simple SDI app using the new VS2008 service pack. I added ribbon support but all I want on the ribbon are the Open & Close buttons. I commented out all the code that creates the other default buttons and categories but doing this also gets rid of the status bar (CMFCRibbonStatusBar). I can't find what member function is called when I click the checkbox that displays the statusbar in the default generated code.

I've tried the following but it doesn't work:

m_wndStatusBar.ShowWindow( SW_SHOWNORMAL );

How do I have the status bar showing without having to have the 'Home' category and 'View' panel (with the 'Show status bar' checkbox) being generated?

Thanks,
Ashish.

© Stack Overflow or respective owner

Related posts about mfc-feature-pack

Related posts about vc++