Changeset 2569 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Jan 29, 2000, 9:46:52 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r2521 r2569 1 /* $Id: oslibwin.cpp,v 1.6 4 2000-01-26 18:02:34 cbratschiExp $ */1 /* $Id: oslibwin.cpp,v 1.65 2000-01-29 20:46:52 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 68 68 ULONG dwClientStyle = 0; 69 69 ULONG dwFrameStyle = 0; 70 #if 171 70 72 71 BOOL TopLevel = hwndParent == HWND_DESKTOP; … … 100 99 dprintf(("OSLibWinCreateWindow: (FRAME) WinCreateStdWindow failed (%x)", WinGetLastError(GetThreadHAB()))); 101 100 return 0; 102 #else103 dwClientStyle = dwWinStyle & ~(WS_TABSTOP | WS_GROUP);104 105 dwFrameStyle |= FCF_NOBYTEALIGN;106 if ((hwndParent == HWND_DESKTOP) && (dwFrameStyle & FCF_TITLEBAR))107 dwFrameStyle |= FCF_TASKLIST | FCF_NOMOVEWITHOWNER;108 109 dwWinStyle &= ~WS_CLIPCHILDREN;110 111 *hwndFrame = WinCreateStdWindow(hwndParent, dwWinStyle,112 &dwFrameStyle, WIN32_STDCLASS,113 "", dwClientStyle, 0, id, &hwndClient);114 if(*hwndFrame) {115 if(pszName) {116 WinSetWindowText(*hwndFrame, pszName);117 }118 return hwndClient;119 }120 dprintf(("OSLibWinCreateWindow: (FRAME) WinCreateStdWindow failed (%x)", WinGetLastError(GetThreadHAB())));121 return 0;122 #endif123 101 } 124 102 //****************************************************************************** … … 135 113 *OSWinStyle |= WS_MINIMIZED; 136 114 //Done explicitely in CreateWindowExA 137 #if 1115 #if 0 138 116 if(dwStyle & WS_VISIBLE_W) 139 117 *OSWinStyle |= WS_VISIBLE;
Note:
See TracChangeset
for help on using the changeset viewer.