Disabled a status bar pane

J

jc

Hello,

I added a new pane to the status bar. I receive the
message in the OnUpdateLevelPane. In the message
handler I set Enable(false), but the text that I set in
the status bar is not gray.

Do I have to explicitly change the color, of the text,
in the message handler, or should the Enable(false)
change the text to gray?

void CMainFrame::OnLevelPane()
{
}

void CMainFrame::OnUpdateLevelPane(CCmdUI* pCmdUI)
{
pCmdUI->Enable(false);
}

TIA,
-jc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top