source: trunk/src/comctl32/comctl32.c@ 41

Last change on this file since 41 was 41, checked in by achimha, 26 years ago

* empty log message *

File size: 2.5 KB
Line 
1/*
2 * Win32 common controls implementation
3 *
4 * Copyright (C) 1999 Achim Hasenmueller
5 *
6 * Based on the work of the WINE group (www.winehq.com)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12
13#include "comctl32.h"
14#include "progress.h"
15#include "comboex.h"
16#include "animate.h"
17#include "datetime.h"
18#include "flatsb.h"
19#include "hotkey.h"
20#include "ipaddress.h"
21#include "monthcal.h"
22#include "nativefont.h"
23#include "pager.h"
24#include "tab.h"
25
26HANDLE COMCTL32_hHeap = (HANDLE)NULL;
27
28
29void RegisterCOMCTL32WindowClasses(void)
30{
31 /* create private heap */
32 COMCTL32_hHeap = HeapCreate(0, 0x10000, 0);
33
34 /* register progress control */
35 PROGRESS_Register();
36 /* register extended combobox control */
37 COMBOEX_Register();
38 /* register animation control */
39 ANIMATE_Register();
40 /* register date time control */
41 DATETIME_Register();
42 /* register the flat scrollbar control */
43 FLATSB_Register();
44 /* register hotkey control */
45 HOTKEY_Register();
46 /* register IP address control */
47// IPADDRESS_Register();
48 /* register month calender control */
49 MONTHCAL_Register();
50 /* register native font control */
51 NATIVEFONT_Register();
52 /* register pager control */
53 PAGER_Register();
54 /* register tab control */
55 TAB_Register();
56}
57
58void UnregisterCOMCTL32WindowClasses(void)
59{
60 /* unregister progress control */
61 PROGRESS_Unregister();
62 /* unregister extended combobox control */
63 COMBOEX_Unregister();
64 /* unregister animation control */
65 ANIMATE_Unregister();
66 /* unregister date time control */
67 DATETIME_Unregister();
68 /* unregister flat scrollbar control */
69 FLATSB_Unregister();
70 /* unregister hotkey control */
71 HOTKEY_Unregister();
72 /* unregister IP address control */
73// IPADDRESS_Unregister();
74 /* unregister month calendar control */
75 MONTHCAL_Unregister();
76 /* unregister native font control */
77 NATIVEFONT_Unregister();
78 /* unregister pager control */
79 PAGER_Unregister();
80 /* unregister tab control */
81 TAB_Unregister();
82
83 /* destroy private heap */
84 HeapDestroy(COMCTL32_hHeap);
85 COMCTL32_hHeap = (HANDLE)NULL;
86}
87
88/***********************************************************************
89 * InitCommonControls [COMCTL32.17]
90 *
91 * Registers the common controls.
92 *
93 * PARAMS
94 * No parameters.
95 *
96 * RETURNS
97 * No return values.
98 *
99 * NOTES
100 * This function is just a dummy.
101 * The Win95 controls are registered at the DLL's initialization.
102 * To register other controls InitCommonControlsEx() must be used.
103 */
104
105VOID WINAPI InitCommonControls(VOID)
106{
107}
Note: See TracBrowser for help on using the repository browser.