How to preload dialog fields
Posted on 2010-09-15
I am writing an mfc based visual c++ application (Visual Studio 2008) and I am having some
difficulties with configuring a modal dialog box.
The dialog box is intended to configure database access parameters - database name,
Problem is that I can't figure out how to preload the fields on dialog box creation
ie I need to read some data from the registry, and populate the fields.
Any suggestion for this would be appreciated. I've tried a number of methods including overloading OnInitialUpdate, but no success.