MFC-Dialog based: Is ther something like "OnShow" ??
-
Is there a such message for a dialog based program like "WM_SHOW" that indicates that the dialog has been shown on the screen ? I would like perform a certain task just when the dialog has bee n displayed to the user. Cant use OnPaint (and have a "do once" flag) since the task waits for the user to put his finger on a fingerprint scanner. So if he then moves the window or something the program will hang ... OnCreate, OnInitDialog, OnShowWindow all runs before the dialog is shown ... any ideas ? Thanks, Daniel
-
Is there a such message for a dialog based program like "WM_SHOW" that indicates that the dialog has been shown on the screen ? I would like perform a certain task just when the dialog has bee n displayed to the user. Cant use OnPaint (and have a "do once" flag) since the task waits for the user to put his finger on a fingerprint scanner. So if he then moves the window or something the program will hang ... OnCreate, OnInitDialog, OnShowWindow all runs before the dialog is shown ... any ideas ? Thanks, Daniel