I have the main dialog with a find button. When pressed it opens a dialog (using DoModal()) with a list control that lists all records. I have an option to select edit. When this is done i want to move all the data back to the main screen. here is what i have done. Declared an instance of the class of the dialog i want to send it to with that instance i have set all the meber variables called CDialog::OnOk() and then called UpdataData(FALSE) but when it is done all the fields are still blank. Any help please?
Here's a sample that modifies a list item on a double click. It creates a list of items in an std::vector and puts the items in a virtual list control. When a user double clicks on the item, the underlying item object is passed to the dialog.
Here's the code that displays the edit dialog on double click
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.