Oh man...I'm at a loss here. I tried the absolute simplest thing I could think of and yet, it still doesn't work!
Code:
case WM_SYSCOMMAND:
if(wParam == SC_MINIMIZE)
{
MessageBox(0, "This message box will never be shown", "!", 0);
}
SysCommandHandler(wParam);
return DefWindowProc(hwnd, msg, wParam, lParam);
I think I'm going to concede that I will not be able to get SC_MINIMIZE to be sent for some bizarro reason and will have to resort to some fake approach...So I ask is there anyway to catch minimize actions without SC_MINIMIZE?