|
-
May 4th, 2010, 03:33 PM
#6
Re: MFC - How to set value of edit box on initialisation of dialog
Thanks again, VS2008 doesn't generate an OnInitDialog by default in my code, but originally I had a play with it trying to get my original problem to work. Am I to understand then that if I manually define MyDialog::OnInitDialog() and within that make a call to CDialog::OnInitDialog() (kind of like OnOK() makes a call to CDialog::OnOK() to run the non-overridden implementation), I can then within the same definition, change the selection of the combo box? Also assuming that OnInitDialog is run automatically on the call to DoModal.
To avoid asking too many questions in the future, can you point me the direction of some beginners/advanced reference material for MFC, as you clearly know your stuff :P. I've only been using it for a month but I'm getting there.
Thanks!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|