Changeset 3306 for trunk/src/user32
- Timestamp:
- Apr 2, 2000, 5:12:48 PM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsgtranslate.cpp
r3284 r3306 1 /* $Id: oslibmsgtranslate.cpp,v 1.2 6 2000-03-31 14:42:47cbratschi Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.27 2000-04-02 15:11:50 cbratschi Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 429 429 winMsg->wParam = 0; 430 430 winMsg->lParam = MAKELONG(winMsg->pt.x,winMsg->pt.y); 431 432 return TRUE; 431 break; 433 432 434 433 case WM_BUTTON1DOWN: -
trunk/src/user32/win32wbasenonclient.cpp
r3291 r3306 1 /* $Id: win32wbasenonclient.cpp,v 1.1 8 2000-04-01 11:35:00 cbratschi Exp $ */1 /* $Id: win32wbasenonclient.cpp,v 1.19 2000-04-02 15:11:50 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (non-client methods) … … 857 857 HDC memDC; 858 858 HBITMAP memBmp,oldBmp; 859 SYSTEMTIME time; //WYSIWYGOFOA860 861 GetSystemTime(&time);862 863 859 864 860 memDC = CreateCompatibleDC(hdc); … … 879 875 { 880 876 COLORREF startColor = GetSysColor(active ? COLOR_ACTIVECAPTION:COLOR_INACTIVECAPTION),endColor = GetSysColor(active ? COLOR_GRADIENTACTIVECAPTION:COLOR_GRADIENTINACTIVECAPTION); 881 882 if ((time.wMonth == 4) && (time.wDay == 1))883 {884 startColor = RGB(rand() & 0xFF,rand() & 0xFF,rand() & 0xFF);885 endColor = RGB(rand() & 0xFF,rand() & 0xFF,rand() & 0xFF);886 }887 877 888 878 if (startColor == endColor) … … 965 955 } 966 956 967 if (GetWindowTextA(buffer, sizeof(buffer) -2 )) //WYSIWYGOFOA: -2957 if (GetWindowTextA(buffer, sizeof(buffer) )) 968 958 { 969 959 NONCLIENTMETRICSA nclm; 970 960 HFONT hFont, hOldFont; 971 972 if ((time.wMonth == 4) && (time.wDay == 1)) strcat(buffer,"/2"); //WYSIWYGOFOA973 961 974 962 nclm.cbSize = sizeof(NONCLIENTMETRICSA);
Note:
See TracChangeset
for help on using the changeset viewer.