Click here to Skip to main content
16,006,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: The file I need is open outside the OutLook Express! Pin
ATC16-Aug-02 6:13
ATC16-Aug-02 6:13 
GeneralRe: The file I need is open outside the OutLook Express! Pin
Ravi Bhavnani16-Aug-02 6:23
professionalRavi Bhavnani16-Aug-02 6:23 
QuestionB&W bitmap ??? Pin
CaesarCZ13-Aug-02 18:01
CaesarCZ13-Aug-02 18:01 
AnswerRe: B&W bitmap ??? Pin
Todd Smith13-Aug-02 18:34
Todd Smith13-Aug-02 18:34 
GeneralRe: B&W bitmap ??? Pin
CaesarCZ14-Aug-02 1:47
CaesarCZ14-Aug-02 1:47 
GeneralRe: B&W bitmap ??? Pin
Todd Smith14-Aug-02 7:50
Todd Smith14-Aug-02 7:50 
GeneralCStatusBar woes Pin
William Payne13-Aug-02 16:56
William Payne13-Aug-02 16:56 
GeneralRe: CStatusBar woes Pin
Roman Fadeyev13-Aug-02 20:04
Roman Fadeyev13-Aug-02 20:04 
Probably, it does not work that there are no created fields in SB. Try to use something looks like that:

... It's our SB fields
static UINT indicators[] =
{
	ID_SEPARATOR,           // status line indicator
	ID_INDICATOR_POS,
	ID_INDICATOR_CAPS,
	ID_INDICATOR_OVR,
	ID_INDICATOR_NUM,
	ID_INDICATOR_SCRL,
};


... Use update action handlers to change contents of SB
ON_UPDATE_COMMAND_UI(ID_INDICATOR_POS, cmdupOnIndicatorPOS)
ON_UPDATE_COMMAND_UI(ID_INDICATOR_OVR, cmdupOnIndicatorOVR)
....


..... After SB creation we must set indicators
pStatusBar->SetIndicators(indicators, sizeof(indicators)/sizeof(UINT));


...... Update it!!
void CSourceView::cmdupOnIndicatorPOS(CCmdUI* pCmdUI)
{
   TCHAR str[32];
   ....
   sprintf(str," Line %d, Col %d", dwLine+1,dwCol+1);

   pCmdUI->SetText (str);
}

GeneralRe: CStatusBar woes Pin
William Payne13-Aug-02 20:44
William Payne13-Aug-02 20:44 
GeneralRe: CStatusBar woes Pin
Roman Fadeyev14-Aug-02 18:54
Roman Fadeyev14-Aug-02 18:54 
Generalgetting garbage out ....help! Pin
ns13-Aug-02 16:27
ns13-Aug-02 16:27 
GeneralRe: getting garbage out ....help! Pin
Jon Hulatt14-Aug-02 0:09
Jon Hulatt14-Aug-02 0:09 
Questionshortsighted design - so can I do this now? Pin
ns13-Aug-02 15:38
ns13-Aug-02 15:38 
AnswerRe: shortsighted design - so can I do this now? Pin
Jason Henderson13-Aug-02 16:05
Jason Henderson13-Aug-02 16:05 
GeneralRe: shortsighted design - so can I do this now? Pin
AlinRO15-Aug-02 0:45
AlinRO15-Aug-02 0:45 
GeneralRe: shortsighted design - so can I do this now? Pin
Jason Henderson15-Aug-02 2:55
Jason Henderson15-Aug-02 2:55 
AnswerRe: shortsighted design - so can I do this now? Pin
Todd Smith13-Aug-02 18:37
Todd Smith13-Aug-02 18:37 
GeneralRe: shortsighted design - so can I do this now? Pin
ns14-Aug-02 3:00
ns14-Aug-02 3:00 
GeneralDefault debugger Pin
Jon Sagara13-Aug-02 15:13
Jon Sagara13-Aug-02 15:13 
GeneralRe: Default debugger Pin
Jason Henderson13-Aug-02 16:07
Jason Henderson13-Aug-02 16:07 
General2 simple problem, guys, gotta help me! Pin
BlackSmith13-Aug-02 14:18
BlackSmith13-Aug-02 14:18 
GeneralRe: 2 simple problem, guys, gotta help me! Pin
Ravi Bhavnani13-Aug-02 14:36
professionalRavi Bhavnani13-Aug-02 14:36 
GeneralRe: 2 simple problem, guys, gotta help me! Pin
Roman Fadeyev13-Aug-02 20:14
Roman Fadeyev13-Aug-02 20:14 
Generalmerging STL sets Pin
moredip13-Aug-02 13:32
moredip13-Aug-02 13:32 
GeneralRe: merging STL sets Pin
Christian Graus13-Aug-02 14:42
protectorChristian Graus13-Aug-02 14:42 

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

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