How to update the parent of a modeless child dialog window
Posted on 2006-06-19
I have a class that inherit from CScrollView which creates a modeless dialog box when the user clicks on a button:
m_dlg = new CActorPropertiesDlg;
What i want to achieve is the parent must still be refreshed when the focus is on the modeless dialog... right now, its only redrawn when the focus is on the parent.
My parent CScrollView object is refreshed using SetTimer(1, 100, NULL)... and in OnTimer( ), i use Invalidate.
How could i tell the modeless dialog to continue to update its parent each 100 ms?