Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys, am in MFC project in which i use MFCRibbon library.
CMFCRibbonStatus bar does not show the prompt text(in Propety window) when mouse pointing ribbon controls and App button menu.

I don't know whats wrong is there any specific settings are needed to enable the status bar to show the prompt(Information Text)text.

If you know tell me....

Thanks in advance
ganesh_IT
Posted
Comments
sachanratnesh 6-May-14 8:38am    
if you solve this problem please let me know i am having some more problem relater to CMFCRibbonSlider????

1 solution

if (!m_wndStatusBar.Create(this))
{
TRACE0("Failed to create status bar\n");
return -1; // fail to create
}

CString strTitlePane1;
bNameValid = strTitlePane1.LoadString(AFX_IDS_IDLEMESSAGE);
ASSERT(bNameValid);
m_wndStatusBar.AddElement(new CMFCRibbonStatusBarPane(ID_STATUSBAR_PANE1, strTitlePane1, TRUE), strTitlePane1);


CString strTitlePane2;
bNameValid = strTitlePane2.LoadString(ID_INDICATOR_MOUSE);
ASSERT(bNameValid);
m_wndStatusBar.AddExtendedElement(new CMFCRibbonStatusBarPane(ID_INDICATOR_MOUSE, strTitlePane2, TRUE), strTitlePane2);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900