Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » StatusMessage question Collapse All
Subject Author Date
tera tera Oct 19, 2008 - 8:28 PM

Hello.


I want to change a status message displayed in this point.

In that case, should I use the following commands?


LRESULT CMainFrame::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)

{

 LRESULT lResultX;

 LRESULT lResult;

 bool    blRet;


 switch( message )

 {

 case WM_SETMESSAGESTRING:

  Status Message....

  return 0;

 default:

  break;

 }


 lResult = CMuMdiFrame::WindowProc( message , wParam, lParam);


Technical Support Oct 21, 2008 - 12:56 PM

By default Prof-UIS classes do not send a WM_SETMESSAGESTRING message. Instead, they use the CExtControlBar::stat_SetMessageString() method for accessing the default message pane in the status bar. You can turn on sending a WM_SETMESSAGESTRING message by CExtControlBar::stat_SetMessageString() by invoking:

CExtControlBar::g_bUseCmdManagerForSetMessageString = false;