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!
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?
if(wParam == SC_MINIMIZE)
MessageBox(0, "This message box will never be shown", "!", 0);
return DefWindowProc(hwnd, msg, wParam, lParam);