
passing derived-CDialog object member function as callback?
You could do it in any of the following ways:
1. Use timer and query the info on each timer call.
2. Use a thread which holds on to the information you want to display.
3. Use OnUpdateCommandUI with WM_KICKIDLE. This is same as 1 except you
would not need timers.
--
Ajay Kalra
Microsoft Visual C++ MVP
Quote:
>I want to pass a member function of my Dialog box class object into a
>lengthy DLL method call,
>so it can periodically notify the dialog box to update its status info...
>can this be done (without undue complexity), or is there a preferable
>approach??
>Any tips from those of you who may have done this before would be
>appreciated.
>Thanks!
>-Colin Reinhardt