I need to process WM_CLOSE for a MDI child Window so that I only make the window invisible-I do not want it to be destroyed. I face some problems with the following:
invoke ShowWindow,hWnd,SW_HIDE
MOV eax,0

Invoke DefMDIChildProc,hWnd,uMsg,wParam,lParam

The problem is that if some other MDI child Windows are visible at the same time, the focus is not forwarded to on one of them and this more annoying if the child Window I process was maximized.

Any ideas would be highly appreciated.
Posted on 2003-02-01 15:58:36 by akyprian
Try the api SetFocus
Posted on 2003-02-01 21:15:21 by roticv