How do I check for the windows state(minimized/maximized) in plane old win32 c++ not MFC. thanks