Pushing the limits for the beginner... I have a tab control on a dialog box that updates records. After the records are updated, they are displayed in a listbox on the parent. Can anyone suggest how to signal the parent to update this listbox from the child.
My stumbling block is that the dialog is modeless. So after I enter the information and save it to the database, I need to focus on the parent and run the list function.
Thank you victorv for the direction to go in. I can call the message from within CMyView and it pulls the OnMyRefresh. However, I think I am missing something obvious about the pointer to call it in CMyDialog.
Could you elaborate on this?
In the class of DialogBox add a pointer to caller view
m_pView, and load it by "this" before launch dialog box.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.