- Timestamp:
- Sep 19, 1999, 8:33:32 PM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r949 r985 1 /* $Id: pmwindow.cpp,v 1. 1 1999-09-15 23:18:55sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.2 1999-09-19 18:33:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 280 280 case WM_ERASEBACKGROUND: 281 281 { 282 if(win32wnd->MsgEraseBackGround(0)) { 283 goto RunDefWndProc; 284 } 282 285 break; 283 286 } -
trunk/src/user32/win32dlg.cpp
r949 r985 1 /* $Id: win32dlg.cpp,v 1. 1 1999-09-15 23:19:00sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.2 1999-09-19 18:33:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 70 70 /* The font height must be negative as it is a point size */ 71 71 /* (see CreateFont() documentation in the Windows SDK). */ 72 #if 0 73 hUserFont = CreateFontA(dlgInfo.pointSize, 0, 0, 0, 74 dlgInfo.weight, dlgInfo.italic, FALSE, 75 FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY, 76 FF_DONTCARE, DEFAULT_DLGFONT); 77 #else 78 hUserFont = CreateFontW(dlgInfo.pointSize, 0, 0, 0, 72 hUserFont = CreateFontW(dlgInfo.pointSize*2, 0, 0, 0, 79 73 dlgInfo.weight, dlgInfo.italic, FALSE, 80 74 FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY, 81 75 FF_DONTCARE, (LPCWSTR)dlgInfo.faceName ); 82 #endif83 76 if (hUserFont) 84 77 { … … 925 918 } 926 919 //****************************************************************************** 920 //TODO: 927 921 //****************************************************************************** 928 922 HWND Win32Dialog::getNextDlgTabItem(HWND hwndCtrl, BOOL fPrevious) … … 931 925 } 932 926 //****************************************************************************** 927 //TODO 933 928 //****************************************************************************** 934 929 Win32BaseWindow *Win32Dialog::getDlgItem(int id) … … 1003 998 wndClass.cbWndExtra = 0; 1004 999 wndClass.hCursor = (HCURSOR)IDC_ARROWA; 1005 wndClass.hbrBackground = LTGRAY_BRUSH;1000 wndClass.hbrBackground = GetSysColorBrush(COLOR_BTNFACE); 1006 1001 wndClass.lpszClassName = DIALOG_CLASS_NAMEA; 1007 1002 -
trunk/src/user32/win32wbase.cpp
r963 r985 1 /* $Id: win32wbase.cpp,v 1. 2 1999-09-17 18:49:53 dengertExp $ */1 /* $Id: win32wbase.cpp,v 1.3 1999-09-19 18:33:32 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1020 1020 1021 1021 if (hdcErase == 0) 1022 hdcErase = O32_GetDC(OS2Hwnd);1022 hdcErase = GetDC(Win32Hwnd); 1023 1023 1024 1024 if(isIcon) … … 1027 1027 rc = SendInternalMessageA(WM_ERASEBKGND, hdcErase, 0); 1028 1028 if (hdc == 0) 1029 O32_ReleaseDC(OS2Hwnd, hdcErase);1029 ReleaseDC(Win32Hwnd, hdcErase); 1030 1030 return (rc); 1031 1031 } … … 1465 1465 { 1466 1466 dprintf(("Win32BaseWindow::SetIcon %x", hIcon)); 1467 return OSLibWinSetIcon(OS2HwndFrame, hIcon); 1467 if(OSLibWinSetIcon(OS2HwndFrame, hIcon) == TRUE) { 1468 SendInternalMessageA(WM_SETICON, hIcon, 0); 1469 return TRUE; 1470 } 1471 return FALSE; 1468 1472 } 1469 1473 //****************************************************************************** -
trunk/src/user32/winmenu.cpp
r961 r985 1 /* $Id: winmenu.cpp,v 1. 2 1999-09-16 15:14:18 phallerExp $ */1 /* $Id: winmenu.cpp,v 1.3 1999-09-19 18:33:32 sandervl Exp $ */ 2 2 3 3 /* … … 236 236 //****************************************************************************** 237 237 //****************************************************************************** 238 ODINFUNCTION2(HMENU,GetSystemMenu,HWND,hSystemWindow, 239 BOOL,bRevert) 238 HMENU WIN32API GetSystemMenu(HWND hSystemWindow, BOOL bRevert) 240 239 { 241 240 dprintf(("USER32: GetSystemMenu not implemented correctly."));
Note:
See TracChangeset
for help on using the changeset viewer.