Changeset 18262
- Timestamp:
- Dec 30, 2001, 5:51:37 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/user32/win32wbase.cpp ¶
r18257 r18262 1 /* $Id: win32wbase.cpp,v 1.30 7 2001-12-30 10:48:08sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.308 2001-12-30 16:51:37 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 444 444 if (fXDefault && !fCXDefault) fXDefault = FALSE; //CB: only x positioning doesn't work (calc.exe,cdrlabel.exe) 445 445 446 447 /* Correct the window style - stage 1 448 * 449 * These are patches that appear to affect both the style loaded into the 450 * WIN structure and passed in the CreateStruct to the WM_CREATE etc. 451 * 452 * WS_EX_WINDOWEDGE appears to be enforced based on the other styles, so 453 * why does the user get to set it? 454 */ 455 456 /* This has been tested for WS_CHILD | WS_VISIBLE. It has not been 457 * tested for WS_POPUP 458 */ 459 if ((cs->dwExStyle & WS_EX_DLGMODALFRAME) || 460 ((!(cs->dwExStyle & WS_EX_STATICEDGE)) && 461 (cs->style & (WS_DLGFRAME | WS_THICKFRAME)))) 462 cs->dwExStyle |= WS_EX_WINDOWEDGE; 463 else 464 cs->dwExStyle &= ~WS_EX_WINDOWEDGE; 465 446 466 //Allocate window words 447 467 nrUserWindowBytes = windowClass->getExtraWndBytes(); … … 497 517 hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD) ? HWND_BOTTOM : HWND_TOP; 498 518 499 /* Correct the window style */519 /* Correct the window style phase 2 */ 500 520 if (!(cs->style & WS_CHILD)) 501 521 {
Note:
See TracChangeset
for help on using the changeset viewer.