
How can I tell when a dialog based app gets hidden or exposed
I have a dialog based application and I want to be notified when the app
gets hidden or exposed.
I tried WM_SHOWWINDOW message, but it only gets called once at the start
up
(I don't know why).
On view based apps, I can map WM_ACTIVATE message of the CFrameWnd, and
it
seems to work
fine.
Please advise.
Thanks
Keon Park