Changeset 10284 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Oct 22, 2003, 2:43:14 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r10275 r10284 1 /* $Id: oslibwin.cpp,v 1.14 4 2003-10-20 17:17:22sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.145 2003-10-22 12:43:13 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 6 6 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl) 7 7 * Copyright 1999 Daniela Engert (dani@ngrt.de) 8 * 8 * Copyright 2002-2003 Innotek Systemberatung GmbH 9 9 * 10 10 * Project Odin Software License can be found in LICENSE.TXT … … 37 37 #define WS_TOPMOST 0x00200000L 38 38 39 //pmwindow.cpp 40 MRESULT EXPENTRY Win32FrameWindowProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2); 41 39 42 //****************************************************************************** 40 43 //****************************************************************************** … … 64 67 DWORD classStyle, HWND *hwndFrame) 65 68 { 66 HWND hwndClient;67 ULONG dwFrameStyle = 0;69 HWND hwndClient; 70 ULONG dwFrameStyle = 0; 68 71 69 72 if(pszName && *pszName == 0) { … … 98 101 // a window with WS_CLIPCHILDREN -> result: dialog window won't update groupbox background as groupbox only draws the border 99 102 *hwndFrame = WinCreateWindow(hwndParent, 100 W IN32_STDFRAMECLASS,103 WC_FRAME, 101 104 pszName, (dwWinStyle & ~WS_CLIPCHILDREN), 0, 0, 0, 0, 102 105 Owner, (fHWND_BOTTOM) ? HWND_BOTTOM : HWND_TOP, 103 106 id, (PVOID)&FCData, NULL); 104 107 108 //We no longer register our own frame window class as there is code in PM 109 //that makes assumptions about frame window class names. 110 //Instead we subclass the frame window right after creating it. 111 if(*hwndFrame) { 112 WinSubclassWindow(*hwndFrame, Win32FrameWindowProc); 113 } 105 114 if(fOS2Look && *hwndFrame) { 106 115 FCData.flCreateFlags = dwOSFrameStyle; … … 118 127 if (hwndParent == HWND_DESKTOP && *hwndFrame) 119 128 OSLibWinCreateInvisibleScroller(*hwndFrame, SBS_VERT); 120 121 129 122 130 if(hwndClient == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.