- Timestamp:
- Jun 30, 1999, 6:08:40 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r220 r254 1 /* $Id: user32.cpp,v 1.1 6 1999-06-26 15:07:00 sandervl Exp $ */1 /* $Id: user32.cpp,v 1.17 1999-06-30 16:08:40 sandervl Exp $ */ 2 2 3 3 /* … … 563 563 //SvL: Correct window style (like Wine does) 564 564 if(dwStyle & WS_CHILD) { 565 566 567 568 565 dwStyle |= WS_CLIPSIBLINGS; 566 if(!(dwStyle & WS_POPUP)) { 567 dwStyle |= WS_CAPTION; 568 } 569 569 } 570 570 if(dwExStyle & WS_EX_DLGMODALFRAME) 571 571 { 572 572 dwStyle &= ~WS_THICKFRAME; 573 573 } 574 574 … … 576 576 WriteLog("USER32: CreateWindow: dwExStyle = %X\n", dwExStyle); 577 577 if((int)arg2 >> 16 != 0) 578 578 WriteLog("USER32: CreateWindow: classname = %s\n", arg2); 579 579 else WriteLog("USER32: CreateWindow: classname = %X\n", arg2); 580 580 WriteLog("USER32: CreateWindow: windowname= %s\n", arg3); … … 626 626 } 627 627 if(window) { 628 628 window->SetWindowHandle(hwnd); 629 629 } 630 630 … … 2435 2435 return O32_IsDialogMessage(arg1, arg2); 2436 2436 } 2437 2437 2438 //****************************************************************************** 2438 2439 //****************************************************************************** … … 2940 2941 memset(cmetric, 0, sizeof(NONCLIENTMETRICSA)); 2941 2942 cmetric->cbSize = sizeof(NONCLIENTMETRICSA); 2943 //CB: font info not valid, needs improvements 2942 2944 O32_SystemParametersInfo(SPI_GETICONTITLELOGFONT, 0, (LPVOID)&(cmetric->lfCaptionFont),0); 2943 2945 O32_SystemParametersInfo(SPI_GETICONTITLELOGFONT, 0, (LPVOID)&(cmetric->lfMenuFont),0); 2944 O32_SystemParametersInfo(SPI_GETICONTITLELOGFONT, 0, (LPVOID)&(cmetric->lfStatusFont),0); 2946 //CB: experimental change for statusbar (and tooltips) 2947 2948 //O32_SystemParametersInfo(SPI_GETICONTITLELOGFONT, 0, (LPVOID)&(cmetric->lfStatusFont),0); 2949 lstrcpyA(cmetric->lfStatusFont.lfFaceName,"WarpSans"); 2950 cmetric->lfStatusFont.lfHeight = 9; 2951 2945 2952 O32_SystemParametersInfo(SPI_GETICONTITLELOGFONT, 0, (LPVOID)&(cmetric->lfMessageFont),0); 2946 2953 cmetric->iBorderWidth = GetSystemMetrics(SM_CXBORDER); … … 4796 4803 * Remark : 4797 4804 * Status : UNTESTED STUB 4805 4798 4806 * 4799 4807 * Author : Patrick Haller [Thu, 1998/02/26 11:55] … … 5104 5112 * If the function fails, the return value is NULL. To get extended 5105 5113 * error information, call GetLastError. 5114 5106 5115 5107 5116 * Remark : … … 6231 6240 6232 6241 6242 6233 6243 /*********************************************************************** 6234 6244 * RegisterTasklist32 [USER32.436] … … 6462 6472 return res; 6463 6473 } 6474
Note:
See TracChangeset
for help on using the changeset viewer.