case pmsg(lparam)^.message of WM_WINDOWPOSCHANGING: SendMessage(AppWnd, MYWM_WINDOWPOSCHANGING, wParam, 0); end;