Changeset 2221 for trunk/src/user32/button.cpp
- Timestamp:
- Dec 27, 1999, 11:54:49 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/button.cpp
r2204 r2221 1 /* $Id: button.cpp,v 1.2 5 1999-12-26 17:30:14cbratschi Exp $ */1 /* $Id: button.cpp,v 1.26 1999-12-27 22:53:51 cbratschi Exp $ */ 2 2 /* File: button.cpp -- Button type widgets 3 3 * … … 466 466 DWORD dwStyle = GetWindowLongA(hwnd,GWL_STYLE),newStyle; 467 467 468 if ((wParam & 0x0 f) >= MAX_BTN_TYPE) return 0;469 newStyle = (dwStyle & 0x fffffff0) | (wParam & 0x0000000f);468 if ((wParam & 0x0F) >= MAX_BTN_TYPE) return 0; 469 newStyle = (dwStyle & 0xFFFFFFF0) | (wParam & 0x0000000F); 470 470 471 471 if (newStyle != dwStyle) 472 472 { 473 473 SetWindowLongA(hwnd,GWL_STYLE,newStyle); 474 PAINT_BUTTON(hwnd,newStyle & 0x0 f,ODA_DRAWENTIRE);474 PAINT_BUTTON(hwnd,newStyle & 0x0F,ODA_DRAWENTIRE); 475 475 } 476 476
Note:
See TracChangeset
for help on using the changeset viewer.