Click here to Skip to main content
15,900,510 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

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

I think you were right. I got it to work. Thanks for pointing me in the right direction. I didn't realize it was a default property thing.
I erroneously assumed that things that have the focus automatically should have the default property as well. What was confusing me was..

The fact that you can set a default property to a button but it changes to the next button you tab to.

I thought once you set the default button it was the defacto default button throughout. Not so.

Why I had the problem.
When I disabled a button I trapped the default button property in the disabled button until the user tabbed to another button. Then the default and focus rectangle would agree.

I guess my next question is why would the default property change when you tab to another button. Default button must just mean the starting point for this behavior until you tab to another button.

Thanks for the great help.
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 
GeneralDLL Without MFC Pin
schoni9-Aug-05 1:51
schoni9-Aug-05 1:51 
GeneralRe: DLL Without MFC Pin
Chris Losinger9-Aug-05 2:12
professionalChris Losinger9-Aug-05 2:12 
GeneralRe: DLL Without MFC Pin
schoni9-Aug-05 2:28
schoni9-Aug-05 2:28 
GeneralRe: DLL Without MFC Pin
Cedric Moonen9-Aug-05 2:36
Cedric Moonen9-Aug-05 2:36 
GeneralRe: DLL Without MFC Pin
David Crow9-Aug-05 2:43
David Crow9-Aug-05 2:43 
GeneralRe: DLL Without MFC Pin
Tim Smith9-Aug-05 4:03
Tim Smith9-Aug-05 4:03 

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.