Changeset 10013 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Apr 11, 2003, 5:22:34 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r9943 r10013 1 /* $Id: oslibwin.cpp,v 1.14 1 2003-03-27 11:02:26sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.142 2003-04-11 15:22:33 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 62 62 char *pszName, HWND Owner, ULONG fHWND_BOTTOM, 63 63 ULONG id, BOOL fTaskList,BOOL fShellPosition, 64 intclassStyle, HWND *hwndFrame)64 DWORD classStyle, HWND *hwndFrame) 65 65 { 66 66 HWND hwndClient; … … 101 101 Owner, (fHWND_BOTTOM) ? HWND_BOTTOM : HWND_TOP, 102 102 id, (PVOID)&FCData, NULL); 103 103 104 if(fOS2Look && *hwndFrame) { 104 105 FCData.flCreateFlags = dwOSFrameStyle; … … 142 143 *OSWinStyle |= WS_TOPMOST; 143 144 144 if(fOS2Look) { 145 //WS_EX_TOOLWINDOW is incompatible with the OS2Look (titlebar thinner + smaller font) 146 if(fOS2Look && !(dwExStyle & WS_EX_TOOLWINDOW_W)) 147 { 145 148 if((dwStyle & WS_CAPTION_W) == WS_CAPTION_W) { 146 149 *OSFrameStyle = FCF_TITLEBAR; … … 176 179 177 180 dprintf(("OSLibWinPositionFrameControls %x (%x,%x) %x %d", hwndFrame, dwStyle, dwExStyle, hSysMenuIcon, drawCloseButton)); 181 182 //WS_EX_TOOLWINDOW is incompatible with the OS2Look (titlebar thinner + smaller font) 183 if(dwExStyle & WS_EX_TOOLWINDOW_W) { 184 DebugInt3(); 185 return FALSE; 186 } 178 187 179 188 if(minmaxwidth == 0) { … … 1075 1084 dwWinStyle &= ~WS_MAXIMIZED; 1076 1085 1077 if(fOS2Look) { 1086 //WS_EX_TOOLWINDOW is incompatible with the OS2Look (titlebar thinner + smaller font) 1087 if(fOS2Look && !(dwExStyle & WS_EX_TOOLWINDOW_W)) { 1078 1088 ULONG OSFrameStyle = 0; 1079 1089 SWP rc1,rc2,rc3; … … 1164 1174 1165 1175 if(dwWinStyle != dwOldWinStyle) { 1166 1167 1176 dprintf(("Setting new window U long")); 1177 WinSetWindowULong(hwndFrame, QWL_STYLE, dwWinStyle); 1168 1178 } 1169 1179
Note:
See TracChangeset
for help on using the changeset viewer.