I have a modal window(1st window) inside which another window(2nd window) gets called, when 1st window is maximized it does not call for ShowWindow() function which in turn 2nd window is not launched by default and secondly when the 1st window is restored the 2nd window is launched i.e ShowWindow() is called.
Can someone tell me why when window is maximized ShowWindow() is not called? When I explicitly pass WM_SHOWWINDOW by postmessage() in initDialog() 2nd window launches.
Thanks,