Changeset 4188 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Sep 4, 2000, 8:23:58 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r4147 r4188 1 /* $Id: win32wbase.cpp,v 1.2 09 2000-09-02 08:30:09sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.210 2000-09-04 18:23:56 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2078 2078 2079 2079 dprintf(("ShowWindow %x %x", getWindowHandle(), nCmdShow)); 2080 if(getWindowHandle() == 0x6800001d && nCmdShow == 1) {2081 rc = 0;2082 }2083 2080 wasVisible = (getStyle() & WS_VISIBLE) != 0; 2084 2081 … … 2189 2186 RECT oldClientRect = rectClient; 2190 2187 2191 if(getWindowHandle() == 0x6800000a) {2192 rc = FALSE;2193 }2194 2188 if (fuFlags & 2195 2189 ~(SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | … … 3060 3054 } 3061 3055 case GWL_WNDPROC: 3062 oldval = (LONG)WINPROC_GetProc(win32wndproc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A); 3063 WINPROC_SetProc((HWINDOWPROC *)&win32wndproc, (WNDPROC)value, WINPROC_GetProcType(win32wndproc), WIN_PROC_WINDOW); 3056 { 3057 //Note: Type of SetWindowLong determines new window proc type 3058 // UNLESS the new window proc has already been registered 3059 // (use the old type in that case) 3060 // (VERIFIED in NT 4, SP6) 3061 WINDOWPROCTYPE type = WINPROC_GetProcType((HWINDOWPROC)value); 3062 if(type == WIN_PROC_INVALID) { 3063 type = (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A; 3064 } 3065 oldval = (LONG)WINPROC_GetProc(win32wndproc, (fUnicode) ? WIN_PROC_32W : WIN_PROC_32A); 3066 WINPROC_SetProc((HWINDOWPROC *)&win32wndproc, (WNDPROC)value, type, WIN_PROC_WINDOW); 3064 3067 return oldval; 3065 3068 } 3066 3069 case GWL_HINSTANCE: 3067 3070 oldval = hInstance;
Note:
See TracChangeset
for help on using the changeset viewer.