Changeset 2292 for trunk/src/user32/new/oslibwin.cpp
- Timestamp:
- Jan 2, 2000, 8:30:47 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibwin.cpp
r2291 r2292 1 /* $Id: oslibwin.cpp,v 1.3 0 2000-01-01 17:07:41cbratschi Exp $ */1 /* $Id: oslibwin.cpp,v 1.31 2000-01-02 19:30:43 cbratschi Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 52 52 //****************************************************************************** 53 53 //****************************************************************************** 54 HWND OSLibWinCreateWindow(HWND hwndParent, ULONG dwWinStyle, ULONG dwFrameStyle,54 HWND OSLibWinCreateWindow(HWND hwndParent,ULONG dwWinStyle, 55 55 char *pszName, HWND Owner, ULONG fHWND_BOTTOM, HWND *hwndFrame, 56 56 ULONG id, BOOL fTaskList) … … 58 58 HWND hwndClient; 59 59 60 dprintf(("WinCreateWindow %x %x %x %s", hwndParent, dwWinStyle, dwFrameStyle,pszName));60 dprintf(("WinCreateWindow %x %x %x %s", hwndParent, pszName)); 61 61 62 62 if(pszName && *pszName == 0) { … … 69 69 Owner = HWND_DESKTOP; 70 70 } 71 ULONG dwClientStyle; 71 ULONG dwClientStyle = 0; 72 ULONG dwFrameStyle = 0; 72 73 #if 1 73 74 74 75 BOOL TopLevel = hwndParent == HWND_DESKTOP; 75 // if(dwFrameStyle & FCF_TITLEBAR)76 // TopLevel = TRUE;77 76 78 77 FRAMECDATA FCData = {sizeof (FRAMECDATA), 0, 0, 0}; … … 94 93 hwndParent, HWND_TOP, 95 94 id, &FCData, NULL); 95 96 96 if (*hwndFrame) { 97 97 hwndClient = WinCreateWindow (*hwndFrame, WIN32_STDCLASS, 98 98 NULL, dwClientStyle, 0, 0, 0, 0, 99 99 *hwndFrame, HWND_TOP, FID_CLIENT, NULL, NULL); 100 if (hwndClient != NULLHANDLE)101 WinSendMsg (*hwndFrame, WM_UPDATEFRAME, 0, 0);102 103 100 return hwndClient; 104 101 }
Note:
See TracChangeset
for help on using the changeset viewer.