Changeset 2676 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Feb 7, 2000, 3:30:18 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r2666 r2676 1 /* $Id: oslibwin.cpp,v 1.6 7 2000-02-05 19:45:16 cbratschiExp $ */1 /* $Id: oslibwin.cpp,v 1.68 2000-02-07 14:30:18 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 51 51 HWND OSLibWinCreateWindow(HWND hwndParent,ULONG dwWinStyle, 52 52 char *pszName, HWND Owner, ULONG fHWND_BOTTOM, HWND *hwndFrame, 53 ULONG id, BOOL fTaskList,BOOL fShellPosition,BOOL saveBits) 53 ULONG id, BOOL fTaskList,BOOL fShellPosition, 54 int classStyle) 54 55 { 55 56 HWND hwndClient; 56 57 57 dprintf(("WinCreateWindow %x %s ", hwndParent, pszName));58 dprintf(("WinCreateWindow %x %s %x task %d shell %d classstyle %x", hwndParent, pszName, id, fTaskList, fShellPosition, classStyle)); 58 59 59 60 if(pszName && *pszName == 0) { … … 73 74 FRAMECDATA FCData = {sizeof (FRAMECDATA), 0, 0, 0}; 74 75 76 if(classStyle & CS_SAVEBITS_W) dwWinStyle |= WS_SAVEBITS; 77 if(classStyle & CS_PARENTDC_W) dwWinStyle |= WS_PARENTCLIP; 78 75 79 dwClientStyle = dwWinStyle & ~(WS_TABSTOP | WS_GROUP | WS_CLIPSIBLINGS); 76 if (saveBits) dwWinStyle |= WS_SAVEBITS;77 80 78 81 dwFrameStyle |= FCF_NOBYTEALIGN; … … 93 96 94 97 if (*hwndFrame) { 95 hwndClient = WinCreateWindow (*hwndFrame, saveBits? WIN32_STDCLASS2:WIN32_STDCLASS,98 hwndClient = WinCreateWindow (*hwndFrame, (classStyle & CS_SAVEBITS_W) ? WIN32_STDCLASS2:WIN32_STDCLASS, 96 99 NULL, dwClientStyle, 0, 0, 0, 0, 97 100 *hwndFrame, HWND_TOP, FID_CLIENT, NULL, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.