Click to See Complete Forum and Search --> : How do I capture OnSysCommand() in SDI MFC App


June 16th, 1999, 09:46 AM
Hi,

I'm having a difficult time capturing WM_SYS_COMMAND messages for the main window of my SDI MFC App. Mainly SW_MINIMIZE and SW_MAXIMIZE. I want to be able to know when the user is minimizing and maximizing the main window of my app. This is no problem when you are using a Dialog based MFC app (it's already there for the CAboutDlg() stuff), but I can't seem to figure it out for an SDI App. If anyone has a clue I would be very grateful.

Thanks,

Brian
briant@smallwonders.com