Click here to Skip to main content
15,917,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Please enter the path for vc60.pdb?? Pin
David Crow9-Aug-05 7:44
David Crow9-Aug-05 7:44 
GeneralRe: Please enter the path for vc60.pdb?? Pin
valerie999-Aug-05 7:57
valerie999-Aug-05 7:57 
GeneralRe: Please enter the path for vc60.pdb?? Pin
David Crow9-Aug-05 8:00
David Crow9-Aug-05 8:00 
GeneralRe: Please enter the path for vc60.pdb?? Pin
valerie999-Aug-05 8:11
valerie999-Aug-05 8:11 
GeneralProblem with bitmaps in XP Pin
djr_apd9-Aug-05 6:17
djr_apd9-Aug-05 6:17 
GeneralCButton disable/focus conundrum Pin
23_4449-Aug-05 6:09
23_4449-Aug-05 6:09 
GeneralRe: CButton disable/focus conundrum Pin
Ravi Bhavnani9-Aug-05 6:54
professionalRavi Bhavnani9-Aug-05 6:54 
GeneralRe: CButton disable/focus conundrum Pin
Blake Miller9-Aug-05 7:29
Blake Miller9-Aug-05 7:29 
Typically, I enable and set focus to the OTHER window before disabling the 'current' window, and that has worked for me.
In your case, try this, it might work fine (just rearrange the order):

OnSave(){<br />
m_New.EnableWindow(TRUE);<br />
// after window is already enabled<br />
m_New.SetFocus();<br />
// after focus has been reset<br />
m_Save.EnableWindow(FALSE);<br />
}

GeneralRe: CButton disable/focus conundrum Pin
23_4449-Aug-05 7:33
23_4449-Aug-05 7:33 
GeneralRe: CButton disable/focus conundrum Pin
David Crow9-Aug-05 8:15
David Crow9-Aug-05 8:15 
GeneralRe: CButton disable/focus conundrum Pin
23_4449-Aug-05 8:23
23_4449-Aug-05 8:23 
GeneralRe: CButton disable/focus conundrum Pin
David Crow9-Aug-05 8:28
David Crow9-Aug-05 8:28 
GeneralRe: CButton disable/focus conundrum Pin
23_4449-Aug-05 8:55
23_4449-Aug-05 8:55 
GeneralRe: CButton disable/focus conundrum Pin
23_44410-Aug-05 7:46
23_44410-Aug-05 7:46 
GeneralRe: CButton disable/focus conundrum Pin
Blake Miller12-Aug-05 5:07
Blake Miller12-Aug-05 5:07 
Generalunwanted character on stringstream Pin
gecool9-Aug-05 4:36
gecool9-Aug-05 4:36 
GeneralRe: unwanted character on stringstream Pin
toxcct9-Aug-05 5:51
toxcct9-Aug-05 5:51 
GeneralRe: unwanted character on stringstream Pin
gecool9-Aug-05 20:26
gecool9-Aug-05 20:26 
GeneralRe: unwanted character on stringstream Pin
Eytukan9-Aug-05 6:02
Eytukan9-Aug-05 6:02 
QuestionTASPI? Pin
Eytukan9-Aug-05 3:39
Eytukan9-Aug-05 3:39 
AnswerTSAPI? Pin
Eytukan9-Aug-05 5:44
Eytukan9-Aug-05 5:44 
GeneralRe: TSAPI? Pin
16-Aug-05 4:00
suss16-Aug-05 4:00 
Generalmail project in vc++ (the connection can't be established) Pin
yasbakr9-Aug-05 2:20
yasbakr9-Aug-05 2:20 
GeneralRe: mail project in vc++ (the connection can't be established) Pin
Jose Lamas Rios9-Aug-05 5:16
Jose Lamas Rios9-Aug-05 5:16 
GeneralRe: mail project in vc++ (the connection can't be established) Pin
ThatsAlok9-Aug-05 19:31
ThatsAlok9-Aug-05 19:31 

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.