Click here to Skip to main content
       

C / C++ / MFC

 
QuestionPlease help me to use the OpenCSG Library in MFC Pinmemberansheng116198623-Jan-13 19:34 
QuestionHow to Handle Logoff event for console based application Pinmembervermaashish_mca23-Jan-13 18:47 
AnswerRe: How to Handle Logoff event for console based application PinmvpRichard MacCutchan23-Jan-13 22:56 
QuestionVC++6.0 Interproc Communication PinmemberYlno22-Jan-13 21:59 
AnswerRe: VC++6.0 Interproc Communication Pinmember«_Superman_»22-Jan-13 22:34 
GeneralRe: VC++6.0 Interproc Communication PinmemberYlno22-Jan-13 23:38 
AnswerRe: VC++6.0 Interproc Communication PinmemberDavid Knechtges23-Jan-13 3:05 
QuestionHow to retrieve the correct range message to update CStatusBar PinmemberVaclav_Sal22-Jan-13 7:51 
I would like to display a text status in MFC main frame from anywhere from my code.
I am using standard MFC   CStatusBar indicators
static UINT indicators[] =
{
     ID_SEPARATOR,               // status line indicator
     ID_STATUS_00,
     ID_INDICATOR_CAPS,
     ID_INDICATOR_NUM,
     ID_INDICATOR_SCRL,
};
and   in main frame message map
ON_UPDATE_COMMAND_UI_RANGE(ID_STATUS_00,ID_STATUS_99, OnUpdateRange)
The processing function is defined , per MSDN
void CMainFrame::OnUpdateRange(CCmdUI *pCmdUI)
When I test post the last message in range
PostMessage(ID_STATUS_99);
the   OnUpdateRange gets executed , however, I do not know how to retrieve the correct range message   from CcmdUI.

Any help will be greatly appreciated.
Cheers Vaclav
AnswerRe: How to retrieve the correct range message to update CStatusBar Pinmember«_Superman_»22-Jan-13 18:37 
GeneralRe: How to retrieve the correct range message to update CStatusBar PinmemberVaclav_Sal23-Jan-13 6:01 
AnswerRe: How to retrieve the correct range message to update CStatusBar PinmemberIain Clarke, Warrior Programmer23-Jan-13 20:55 
GeneralRe: How to retrieve the correct range message to update CStatusBar [modified] PinmemberVaclav_Sal24-Jan-13 4:39 
GeneralRe: How to retrieve the correct range message to update CStatusBar PinmemberIain Clarke, Warrior Programmer24-Jan-13 23:08 
QuestionHow to process the task bar mouse click event? Pingroupyu-jian22-Jan-13 3:50 
AnswerRe: How to process the task bar mouse click event? Pinmember«_Superman_»22-Jan-13 18:44 
GeneralRe: How to process the task bar mouse click event? Pingroupyu-jian23-Jan-13 2:11 
Questionhow can draw a panel ? PingroupVCProgrammer22-Jan-13 0:33 
AnswerRe: how can draw a panel ? PinmvpRichard MacCutchan22-Jan-13 3:07 
GeneralRe: how can draw a panel ? PingroupVCProgrammer22-Jan-13 17:35 
GeneralRe: how can draw a panel ? PinmvpRichard MacCutchan22-Jan-13 21:52 
GeneralRe: how can draw a panel ? PingroupVCProgrammer22-Jan-13 23:32 
GeneralRe: how can draw a panel ? PinmvpRichard MacCutchan23-Jan-13 1:00 
Questionc++ implementation of a linked list. Pinmemberneo2922-Jan-13 0:31 
AnswerRe: c++ implementation of a linked list. PinmemberMaximilien22-Jan-13 1:35 
AnswerRe: c++ implementation of a linked list. PinmemberSivaraman Dhamodharan22-Jan-13 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140421.2 | Last Updated 24 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid