Catching WM_SIZE from a CDialog window
Posted on 1998-09-30
I'm having an odd problem...I am trying to detect when my CDialog window gets minimized. I tried handling WM_SIZE with OnSize, and testing for the SIZE_MINIMIZE flag. However, when I minimize the window (both with the system menu on the window tool bar and the "minimize all windows" on the taskbar)the WM_SIZE message isn't even caught. Any ideas on how I can reliably tell when my window gets minimized? Thanks in advance...