I have a complicated program in C++ (hybrid of old-school Win32 and WTL) which does not respond to any taskbar tile/cascade request (i.e. right click on task bar and select "Cascade Windows" or "Show window side by side"). When I use spy++, I found that none of my window is receiving any window message, while other programs (in this case, Firefox) get a series of WM_GETMINMAXINFO, WM_SIZE, WM_PAINT ...
My frame window is styled as WS_OVERLAPPEDWINDOW. I create several hidden windows before creating the frame window. I have tested on multiple different OS'es and the symptoms are the same. Is there any limitation or prerequisites for Windows shell to send out messages to my frame window?