Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disabling existing controls in a dialog Pin
Tomasz Sowinski8-Aug-02 5:54
Tomasz Sowinski8-Aug-02 5:54 
GeneralRe: Disabling existing controls in a dialog Pin
Renjith Ramachandran8-Aug-02 7:46
Renjith Ramachandran8-Aug-02 7:46 
GeneralRe: Disabling existing controls in a dialog Pin
Luis E. Cuadrado8-Aug-02 7:56
Luis E. Cuadrado8-Aug-02 7:56 
GeneralRe: Disabling existing controls in a dialog Pin
Luis E. Cuadrado8-Aug-02 9:18
Luis E. Cuadrado8-Aug-02 9:18 
Questionhow do they know if those IDs are correct or not? Pin
includeh108-Aug-02 5:10
includeh108-Aug-02 5:10 
AnswerRe: how do they know if those IDs are correct or not? Pin
Ravi Bhavnani8-Aug-02 5:19
professionalRavi Bhavnani8-Aug-02 5:19 
GeneralRe: how do they know if those IDs are correct or not? Pin
includeh108-Aug-02 5:38
includeh108-Aug-02 5:38 
QuestionASSERT(::IsWindow(m_hWnd)) --when? Pin
JennyP8-Aug-02 5:12
JennyP8-Aug-02 5:12 
Hello,

I keep running in to this bug because I don't really know when the appropriate time is to access various child/control windows in the creation of a dialog. I wish to set some of the controls' initial values (e.g., CMonthCalCtrl::SetDayState) once when the dialog is created and before the user sees the child windows.

I have tried to insert such function calls in "OnCreate" or "PreCreateWindow", but these seem to fail. I would like to find the windows message I can use to call such initialization functions that satisfies ASSERT(::IsWindow(m_hWnd)).

Thanks!

JennyP
AnswerRe: ASSERT(::IsWindow(m_hWnd)) --when? Pin
Ravi Bhavnani8-Aug-02 5:17
professionalRavi Bhavnani8-Aug-02 5:17 
AnswerRe: ASSERT(::IsWindow(m_hWnd)) --when? Pin
Renjith Ramachandran8-Aug-02 8:27
Renjith Ramachandran8-Aug-02 8:27 
GeneralSecond Dialog referring to First Dialog Class Member Pin
Xtorpia8-Aug-02 4:40
Xtorpia8-Aug-02 4:40 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Ravi Bhavnani8-Aug-02 4:52
professionalRavi Bhavnani8-Aug-02 4:52 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Xtorpia9-Aug-02 0:40
Xtorpia9-Aug-02 0:40 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Ravi Bhavnani9-Aug-02 5:18
professionalRavi Bhavnani9-Aug-02 5:18 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Renjith Ramachandran8-Aug-02 8:47
Renjith Ramachandran8-Aug-02 8:47 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Ravi Bhavnani8-Aug-02 16:31
professionalRavi Bhavnani8-Aug-02 16:31 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Xtorpia9-Aug-02 0:42
Xtorpia9-Aug-02 0:42 
QuestionAdd-in : where to get file names in a project object ?? Pin
haust8-Aug-02 4:36
haust8-Aug-02 4:36 
AnswerRe: Add-in : where to get file names in a project object ?? Pin
haust8-Aug-02 22:26
haust8-Aug-02 22:26 
QuestionCodeguru... Stupid Monkey Bussiness ? Pin
Braulio Dez8-Aug-02 4:15
Braulio Dez8-Aug-02 4:15 
AnswerSorry, this was for the lounge, bad sh*t in my head :-( Pin
Braulio Dez8-Aug-02 4:50
Braulio Dez8-Aug-02 4:50 
QuestionHow do I access parent members from child? Pin
brianwelsch8-Aug-02 3:46
brianwelsch8-Aug-02 3:46 
AnswerRe: How do I access parent members from child? Pin
Ranjan Banerji8-Aug-02 4:22
Ranjan Banerji8-Aug-02 4:22 
GeneralVBScript compilation error Pin
Anonymous8-Aug-02 3:26
Anonymous8-Aug-02 3:26 
GeneralRe: VBScript compilation error Pin
Anonymous8-Aug-02 8:21
Anonymous8-Aug-02 8:21 

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.