![]() The above works and the SB toggles as shown or hidden as required. The toggle code (above) is called when either the check box is checked (or unchecked) and after the Status Bar is created from the main frame class. Where the toggle flag, b_Flag, is stored in the registry and set by a check box in the RibbonBar it is retrieved by m_bGetRegFlag(…). The SB is toggled in CFrameWndEx class by:ī_Flag = p_RegCls- >m_bGetRegFlag(ID_REGKEY_Item_SB, KEY_READ) //ID_REGKEY_Item_SB = nID ASSERT(p_SBCls- >CreateEx( this, SB_STYLE_EX, SB_STYLE, nID))
0 Comments
Leave a Reply. |