> (Note: I'm assuming MFC here)

(Correct)

>
> Maybe I'm getting you wrong here, but isn't it enough to call
> UpdateData() somewhere at in the beginning of OnInitDialog()?

I'm afraid not. That only transfers the values from control to variables (or
vice versa) - it does not make the necessary initial connection between the
two. If you try and call this before the base class call to OnInitDialog(),
it will also assert for the same reason.

--
Jason Teagle
[EMAIL PROTECTED]



_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to