Changeset 2418 for trunk/src/user32/new/pmframe.cpp
- Timestamp:
- Jan 12, 2000, 4:14:16 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/pmframe.cpp
r2415 r2418 1 /* $Id: pmframe.cpp,v 1.1 1 2000-01-12 12:40:45sandervl Exp $ */1 /* $Id: pmframe.cpp,v 1.12 2000-01-12 15:14:16 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 391 391 return WinDefWindowProc(hwnd,msg,mp1,mp2); 392 392 } 393 393 //****************************************************************************** 394 //****************************************************************************** 394 395 PVOID FrameSubclassFrameWindow(Win32BaseWindow *win32wnd) 395 396 { 396 397 return WinSubclassWindow(win32wnd->getOS2FrameWindowHandle(),PFNWP(Win32FrameProc)); 397 398 } 398 399 VOID FrameUpdateFrame(Win32BaseWindow *win32wnd,DWORD flags) 399 //****************************************************************************** 400 //****************************************************************************** 401 VOID FrameUpdateClient(Win32BaseWindow *win32wnd) 400 402 { 401 WinSendMsg(win32wnd->getOS2FrameWindowHandle(),WM_UPDATEFRAME,(MPARAM)flags,(MPARAM)0); 403 RECTL rect; 404 SWP swpClient = {0}; 405 406 win32wnd->MsgFormatFrame(); 407 //CB: todo: use result for WM_CALCVALIDRECTS 408 mapWin32ToOS2Rect(WinQueryWindow(win32wnd->getOS2FrameWindowHandle(),QW_PARENT),win32wnd->getOS2FrameWindowHandle(),win32wnd->getClientRectPtr(),(PRECTLOS2)&rect); 409 410 swpClient.hwnd = win32wnd->getOS2WindowHandle(); 411 swpClient.hwndInsertBehind = 0; 412 swpClient.x = rect.xLeft; 413 swpClient.y = rect.yBottom; 414 swpClient.cx = rect.xRight-rect.xLeft; 415 swpClient.cy = rect.yTop-rect.yBottom; 416 swpClient.fl = SWP_MOVE | SWP_SIZE; 417 WinSetMultWindowPos(GetThreadHAB(), &swpClient, 1); 402 418 } 419 //****************************************************************************** 420 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.