- Timestamp:
- Jul 24, 1999, 7:10:26 PM (26 years ago)
- Location:
- trunk/src/user32/new
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/button.cpp
r384 r387 1 /* $Id: button.cpp,v 1. 8 1999-07-24 12:40:20cbratschi Exp $ */1 /* $Id: button.cpp,v 1.9 1999-07-24 17:10:24 cbratschi Exp $ */ 2 2 /* File: button.c -- Button type widgets 3 3 * … … 915 915 wndClass.cbWndExtra = sizeof(BUTTONINFO); 916 916 wndClass.hCursor = LoadCursorA(0,IDC_ARROWA); 917 wndClass.hbrBackground = (HBRUSH) (COLOR_3DFACE+1);917 wndClass.hbrBackground = (HBRUSH)0; 918 918 wndClass.lpszClassName = BUTTONCLASSNAME; 919 919 -
trunk/src/user32/new/combo.cpp
r384 r387 1 /* $Id */1 /* $Id: combo.cpp,v 1.2 1999-07-24 17:10:24 cbratschi Exp $ */ 2 2 /* 3 3 * Combo controls … … 1963 1963 1964 1964 ZeroMemory(&wndClass,sizeof(WNDCLASSA)); 1965 wndClass.style = CS_GLOBALCLASS | CS_ HREDRAW | CS_VREDRAW | CS_PARENTDC;1965 wndClass.style = CS_GLOBALCLASS | CS_PARENTDC; 1966 1966 wndClass.lpfnWndProc = (WNDPROC)ComboWndProc; 1967 1967 wndClass.cbClsExtra = 0; 1968 1968 wndClass.cbWndExtra = sizeof(VOID*); 1969 1969 wndClass.hCursor = LoadCursorA(0,IDC_ARROWA); 1970 wndClass.hbrBackground = (HBRUSH) (COLOR_3DFACE+1);1970 wndClass.hbrBackground = (HBRUSH)0; 1971 1971 wndClass.lpszClassName = COMBOBOXCLASSNAME; 1972 1972 -
trunk/src/user32/new/controls.cpp
r384 r387 1 /* $Id: controls.cpp,v 1. 7 1999-07-24 12:40:20cbratschi Exp $ */1 /* $Id: controls.cpp,v 1.8 1999-07-24 17:10:24 cbratschi Exp $ */ 2 2 /* File: controls.cpp -- Win32 common controls 3 3 * … … 14 14 #include "static.h" 15 15 #include "scroll.h" 16 #include "combo.H" //listbox included16 #include "combo.H" //listbox,combo,edit 17 17 18 18 /* registration */ … … 37 37 dprintf(("Register COMBOBOX class")); 38 38 if (!COMBOBOX_Register()) dprintf(("failed!!!")); 39 40 dprintf(("Register EDIT class")); 41 if (!EDIT_Register()) dprintf(("failed!!!")); 39 42 } 40 43 … … 58 61 dprintf(("Unregister COMBOBOX class")); 59 62 if (!COMBOBOX_Unregister()) dprintf(("failed!!!")); 63 64 dprintf(("Unregister EDIT class")); 65 if (!EDIT_Unregister()) dprintf(("failed!!!")); 60 66 } 61 67 -
trunk/src/user32/new/listbox.cpp
r384 r387 1 /* $Id */1 /* $Id: listbox.cpp,v 1.2 1999-07-24 17:10:25 cbratschi Exp $ */ 2 2 /* 3 3 * Listbox controls … … 2618 2618 2619 2619 ZeroMemory(&wndClass,sizeof(WNDCLASSA)); 2620 wndClass.style = CS_GLOBALCLASS | CS_ HREDRAW | CS_VREDRAW | CS_DBLCLKS;2620 wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS; 2621 2621 wndClass.lpfnWndProc = (WNDPROC)ListBoxWndProc; 2622 2622 wndClass.cbClsExtra = 0; 2623 2623 wndClass.cbWndExtra = sizeof(VOID*); 2624 2624 wndClass.hCursor = LoadCursorA(0,IDC_ARROWA); 2625 wndClass.hbrBackground = (HBRUSH) (COLOR_3DFACE+1);2625 wndClass.hbrBackground = (HBRUSH)0; 2626 2626 wndClass.lpszClassName = LISTBOXCLASSNAME; 2627 2627 … … 2644 2644 2645 2645 ZeroMemory(&wndClass,sizeof(WNDCLASSA)); 2646 wndClass.style = CS_GLOBALCLASS | CS_ HREDRAW | CS_VREDRAW | CS_DBLCLKS;2646 wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS | CS_SAVEBITS; 2647 2647 wndClass.lpfnWndProc = (WNDPROC)ComboLBWndProc; 2648 2648 wndClass.cbClsExtra = 0; 2649 2649 wndClass.cbWndExtra = sizeof(VOID*); 2650 2650 wndClass.hCursor = LoadCursorA(0,IDC_ARROWA); 2651 wndClass.hbrBackground = (HBRUSH) (COLOR_3DFACE+1);2651 wndClass.hbrBackground = (HBRUSH)0; 2652 2652 wndClass.lpszClassName = COMBOLBOXCLASSNAME; 2653 2653 -
trunk/src/user32/new/makefile
r385 r387 1 # $Id: makefile,v 1.1 8 1999-07-24 14:01:44 sandervlExp $1 # $Id: makefile,v 1.19 1999-07-24 17:10:25 cbratschi Exp $ 2 2 3 3 # … … 29 29 msgbox.obj window.obj windowmsg.obj windowclass.obj windlgmsg.obj \ 30 30 windowword.obj gen_object.obj oslibwin.obj win32wndchild.obj \ 31 controls.obj button.obj static.obj scroll.obj listbox.obj combo.obj \ 31 controls.obj button.obj static.obj scroll.obj listbox.obj \ 32 combo.obj edit.obj \ 32 33 oslibutil.obj oslibmsg.obj windlg.obj \ 33 34 winprop.obj wingdi.obj oslibgdi.obj winaccel.obj winscrollbar.obj \ … … 79 80 listbox.obj: listbox.cpp $(PDWIN32_INCLUDE)\win\combo.h 80 81 combo.obj: combo.cpp $(PDWIN32_INCLUDE)\win\combo.h 82 edit.obj: edit.cpp $(PDWIN32_INCLUDE)\win\combo.h 81 83 82 84 nativerc.obj: nativerc.cpp -
trunk/src/user32/new/scroll.cpp
r373 r387 1 /* $Id: scroll.cpp,v 1. 3 1999-07-23 16:46:29cbratschi Exp $ */1 /* $Id: scroll.cpp,v 1.4 1999-07-24 17:10:25 cbratschi Exp $ */ 2 2 /* 3 3 * Scrollbar control … … 1503 1503 wndClass.cbWndExtra = sizeof(SCROLLBAR_INFO); 1504 1504 wndClass.hCursor = LoadCursorA(0,IDC_ARROWA); 1505 wndClass.hbrBackground = (HBRUSH) (COLOR_3DFACE+1);1505 wndClass.hbrBackground = (HBRUSH)0; 1506 1506 wndClass.lpszClassName = SCROLLBARCLASSNAME; 1507 1507 -
trunk/src/user32/new/static.cpp
r373 r387 1 /* $Id: static.cpp,v 1. 3 1999-07-23 16:46:29cbratschi Exp $ */1 /* $Id: static.cpp,v 1.4 1999-07-24 17:10:26 cbratschi Exp $ */ 2 2 /* 3 3 * Static control … … 589 589 590 590 ZeroMemory(&wndClass,sizeof(WNDCLASSA)); 591 wndClass.style = CS_GLOBALCLASS | CS_HREDRAW | CS_ VREDRAW | CS_PARENTDC;591 wndClass.style = CS_GLOBALCLASS | CS_HREDRAW | CS_PARENTDC; 592 592 wndClass.lpfnWndProc = (WNDPROC)StaticWndProc; 593 593 wndClass.cbClsExtra = 0; 594 594 wndClass.cbWndExtra = sizeof(STATICINFO); 595 595 wndClass.hCursor = LoadCursorA (0,IDC_ARROWA); 596 wndClass.hbrBackground = (HBRUSH) (COLOR_3DFACE+1);596 wndClass.hbrBackground = (HBRUSH)0; 597 597 wndClass.lpszClassName = STATICCLASSNAME; 598 598
Note:
See TracChangeset
for help on using the changeset viewer.