Changeset 743 for trunk/src/user32/new/controls.cpp
- Timestamp:
- Aug 30, 1999, 4:21:50 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/controls.cpp
r387 r743 1 /* $Id: controls.cpp,v 1. 8 1999-07-24 17:10:24 cbratschiExp $ */1 /* $Id: controls.cpp,v 1.9 1999-08-30 14:21:24 sandervl Exp $ */ 2 2 /* File: controls.cpp -- Win32 common controls 3 3 * … … 15 15 #include "scroll.h" 16 16 #include "combo.H" //listbox,combo,edit 17 #include "win32wmdiclient.h" 17 18 18 19 /* registration */ … … 20 21 void CONTROLS_Register() 21 22 { 23 //TODO: Remove this once we replace the atom code in kernel32 24 //Delete all Open32 global class atoms and recreate them 25 ATOM atom; 26 27 atom = GlobalFindAtomA(BUTTONCLASSNAME); 28 if(atom) GlobalDeleteAtom(atom); 29 atom = GlobalFindAtomA(STATICCLASSNAME); 30 if(atom) GlobalDeleteAtom(atom); 31 atom = GlobalFindAtomA(SCROLLBARCLASSNAME); 32 if(atom) GlobalDeleteAtom(atom); 33 atom = GlobalFindAtomA(LISTBOXCLASSNAME); 34 if(atom) GlobalDeleteAtom(atom); 35 atom = GlobalFindAtomA(COMBOLBOXCLASSNAME); 36 if(atom) GlobalDeleteAtom(atom); 37 atom = GlobalFindAtomA(COMBOBOXCLASSNAME); 38 if(atom) GlobalDeleteAtom(atom); 39 atom = GlobalFindAtomA(EDITCLASSNAME); 40 if(atom) GlobalDeleteAtom(atom); 41 atom = GlobalFindAtomA(MDICLIENTCLASSNAME); 42 if(atom) GlobalDeleteAtom(atom); 43 //END to be removed code 44 22 45 dprintf(("Register BUTTON class")); 23 46 if (!BUTTON_Register()) dprintf(("failed!!!")); … … 40 63 dprintf(("Register EDIT class")); 41 64 if (!EDIT_Register()) dprintf(("failed!!!")); 65 66 dprintf(("Register MDICLIENT class")); 67 if (!MDICLIENT_Register()) dprintf(("failed!!!")); 42 68 } 43 69 … … 64 90 dprintf(("Unregister EDIT class")); 65 91 if (!EDIT_Unregister()) dprintf(("failed!!!")); 92 93 dprintf(("Unregister MDICLIENT class")); 94 if (!MDICLIENT_Unregister()) dprintf(("failed!!!")); 66 95 } 67 96 97
Note:
See TracChangeset
for help on using the changeset viewer.