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
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