Changeset 44 for trunk/src/comctl32/comctl32.c
- Timestamp:
- Jun 7, 1999, 5:37:34 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/comctl32.c
r41 r44 23 23 #include "pager.h" 24 24 #include "tab.h" 25 #include "status.h" 26 #include "header.h" 27 #include "updown.h" 28 #include "rebar.h" 29 #include "trackbar.h" 30 #include "tooltips.h" 31 #include "toolbar.h" 32 #include "treeview.h" 25 33 26 34 HANDLE COMCTL32_hHeap = (HANDLE)NULL; 35 HMODULE COMCTL32_hModule = 0; 36 LPSTR COMCTL32_aSubclass = (LPSTR)NULL; 27 37 28 29 void RegisterCOMCTL32WindowClasses(void) 38 void RegisterCOMCTL32WindowClasses(unsigned long hinstDLL) 30 39 { 31 40 /* create private heap */ 32 41 COMCTL32_hHeap = HeapCreate(0, 0x10000, 0); 42 /* add global subclassing atom (used by 'tooltip' and 'updown') */ 43 COMCTL32_aSubclass = (LPSTR)(DWORD)GlobalAddAtomA ("CC32SubclassInfo"); 44 /* This will be wrong for any other process attching in this address-space! */ 45 COMCTL32_hModule = (HMODULE)hinstDLL; 33 46 34 /* register progress control*/47 /* register controls */ 35 48 PROGRESS_Register(); 36 /* register extended combobox control */37 49 COMBOEX_Register(); 38 /* register animation control */39 50 ANIMATE_Register(); 40 /* register date time control */41 51 DATETIME_Register(); 42 /* register the flat scrollbar control */43 52 FLATSB_Register(); 44 /* register hotkey control */45 53 HOTKEY_Register(); 46 /* register IP address control */47 54 // IPADDRESS_Register(); 48 /* register month calender control */49 55 MONTHCAL_Register(); 50 /* register native font control */51 56 NATIVEFONT_Register(); 52 /* register pager control */53 57 PAGER_Register(); 54 /* register tab control */55 58 TAB_Register(); 59 STATUS_Register(); 60 HEADER_Register(); 61 UPDOWN_Register(); 62 REBAR_Register(); 63 TRACKBAR_Register(); 64 TOOLTIPS_Register(); 65 TOOLBAR_Register(); 66 TREEVIEW_Register(); 56 67 } 57 68 58 69 void UnregisterCOMCTL32WindowClasses(void) 59 70 { 60 /* unregister progress control*/71 /* unregister controls */ 61 72 PROGRESS_Unregister(); 62 /* unregister extended combobox control */63 73 COMBOEX_Unregister(); 64 /* unregister animation control */65 74 ANIMATE_Unregister(); 66 /* unregister date time control */67 75 DATETIME_Unregister(); 68 /* unregister flat scrollbar control */69 76 FLATSB_Unregister(); 70 /* unregister hotkey control */71 77 HOTKEY_Unregister(); 72 /* unregister IP address control */73 78 // IPADDRESS_Unregister(); 74 /* unregister month calendar control */75 79 MONTHCAL_Unregister(); 76 /* unregister native font control */77 80 NATIVEFONT_Unregister(); 78 /* unregister pager control */79 81 PAGER_Unregister(); 80 /* unregister tab control */81 82 TAB_Unregister(); 83 STATUS_Unregister(); 84 HEADER_Unregister(); 85 UPDOWN_Unregister(); 86 REBAR_Unregister(); 87 TRACKBAR_Unregister(); 88 TOOLTIPS_Unregister(); 89 TOOLBAR_Unregister(); 90 TREEVIEW_Unregister(); 82 91 83 92 /* destroy private heap */
Note:
See TracChangeset
for help on using the changeset viewer.