a newbie question
-
Hi, I would like to update the display in the CSTestView if the OK botton on CParaDlg is pressed, how to initiate the update? void CParaDlg::OnOK() { CString msg = "checked"; AfxMessageBox(msg); CDialog::OnOK(); } void CSTestView::OnDraw() { } I will be very appreciated for whatever hint I received. Regards Nelson L.
-
Hi, I would like to update the display in the CSTestView if the OK botton on CParaDlg is pressed, how to initiate the update? void CParaDlg::OnOK() { CString msg = "checked"; AfxMessageBox(msg); CDialog::OnOK(); } void CSTestView::OnDraw() { } I will be very appreciated for whatever hint I received. Regards Nelson L.
If you are using Doc/View architecture, you should call method UpdateAllViews() from your document object. example: GetDocument()->UpdateAllViews(); regards Rodrigo Pinho Pereira de Souza
-
Hi, I would like to update the display in the CSTestView if the OK botton on CParaDlg is pressed, how to initiate the update? void CParaDlg::OnOK() { CString msg = "checked"; AfxMessageBox(msg); CDialog::OnOK(); } void CSTestView::OnDraw() { } I will be very appreciated for whatever hint I received. Regards Nelson L.