mGNCS API Reference
v1.5.0
A new control set and a new framework for MiniGUI apps
include
mgncs.h
Go to the documentation of this file.
1
//
3
// IMPORTANT NOTICE
4
//
5
// The following open source license statement does not apply to any
6
// entity in the Exception List published by FMSoft.
7
//
8
// For more information, please visit:
9
//
10
// https://www.fmsoft.cn/exception-list
11
//
13
54
#ifndef _MGNCS_H
55
#define _MGNCS_H
56
57
#ifdef __cplusplus
58
extern
"C"
{
59
#endif
60
61
#include <stdarg.h>
62
63
#ifndef MGNCS_MAJOR_VERSION
64
# undef PACKAGE
65
# undef VERSION
66
# undef PACKAGE_BUGREPORT
67
# undef PACKAGE_NAME
68
# undef PACKAGE_STRING
69
# undef PACKAGE_TARNAME
70
# undef PACKAGE_VERSION
71
# ifdef __MGNCS_LIB__
72
# if defined(__CMAKE_PROJECT__) || defined(WIN32)
73
# include "mgncsconfig.h"
74
# else
75
# include "../mgncsconfig.h"
76
# endif
77
# else
78
# include "mgncsconfig.h"
79
# endif
80
#endif
81
82
#include "
mdblist.h
"
83
#include "
mcommon.h
"
84
#include "
mtype.h
"
85
#include "
mem-slab.h
"
86
#include "
hashtable.h
"
87
#include "
mobject.h
"
88
89
#include "
mcomponent.h
"
90
#include "mwidget.h"
91
#include "
mpopmenumgr.h
"
92
#include "
mtoolitem.h
"
93
94
#include "
piece.h
"
95
#include "
mtoolbaritems.h
"
96
97
#include "
mscroll_widget.h
"
98
99
#include "
mpanel.h
"
100
101
#ifdef _MGNCSCTRL_CONTAINER
102
#include "
mcontainer.h
"
103
#endif
104
105
#include "
mstatic.h
"
106
#include "
mimage.h
"
107
108
#ifdef _MGNCSCTRL_RECTANGLE
109
#include "
mrect.h
"
110
#endif
111
112
#include "
mgroupbox.h
"
113
#include "
mbuttongroup.h
"
114
#include "
mbutton.h
"
115
#include "
mcheckbutton.h
"
116
#include "
mradiobutton.h
"
117
118
#ifdef _MGNCSCTRL_MENUBUTTON
119
#include "
mmenubutton.h
"
120
#endif
121
122
#include "
mimagebutton.h
"
123
124
#ifdef _MGNCSCTRL_PROGRESSBAR
125
#include "
mprogressbar.h
"
126
#endif
127
128
#ifdef _MGNCSCTRL_SPINNER
129
#include "
mspinner.h
"
130
#endif
131
132
#ifdef _MGNCSCTRL_SPINBOX
133
#include "
mspinbox.h
"
134
#endif
135
136
#ifdef _MGNCSCTRL_SLIDER
137
#include "
mslider.h
"
138
#endif
139
140
#ifdef _MGNCSCTRL_TRACKBAR
141
#include "
mtrackbar.h
"
142
#endif
143
144
#ifdef _MGNCSCTRL_PAGE
145
#include "
mpage.h
"
146
#endif
147
148
#ifdef _MGNCSCTRL_PROPSHEET
149
#include "
mpropsheet.h
"
150
#endif
151
152
#include "mmainwnd.h"
153
154
#ifdef _MGNCSCTRL_DIALOGBOX
155
#include "mdialog.h"
156
#endif
157
158
#include "
mdblist.h
"
159
#include "
mitem.h
"
160
#include "
mitem_manager.h
"
161
#include "
mitemview.h
"
162
163
#ifdef _MGNCSCTRL_ICONVIEW
164
#include "
miconview.h
"
165
#endif
166
167
#include "
mscrollview.h
"
168
169
#include "
mlistcolumn.h
"
170
#include "
mlistitem.h
"
171
172
#ifdef _MGNCSCTRL_LISTVIEW
173
#include "
mlistview.h
"
174
#endif
175
176
#ifdef _MGNCSCTRL_LISTBOX
177
#include "
mlistbox.h
"
178
#endif
179
180
#ifdef _MGNCSCTRL_SCROLLBAR
181
#include "
mscrollbar.h
"
182
#endif
183
184
#ifdef _MGNCSCTRL_MONTHCALENDAR
185
#include "
mmonthcalendar.h
"
186
#endif
187
188
#ifdef _MGNCSCTRL_TOOLBAR
189
#include "
mtoolbar.h
"
190
#endif
191
192
#include "
minvisible-component.h
"
193
#include "
mtimer.h
"
194
195
#include "
medit.h
"
196
#include "
msledit.h
"
197
198
#ifdef _MGNCSCTRL_ANIMATE
199
#include "
manimate.h
"
200
#endif
201
202
#include "
mmledit.h
"
203
204
#ifdef _MGNCSCTRL_COMBOBOX
205
#include "
mcombobox.h
"
206
#endif
207
208
#ifdef _MGNCSCTRL_LEDLABEL
209
#include "
mledstatic.h
"
210
#endif
211
212
#ifdef _MGNCSCTRL_COLORBUTTON
213
#include "
mcolorbutton.h
"
214
#endif
215
216
#include "
mseparator.h
"
217
218
#include "
mnode.h
"
219
#include "
mchecknode.h
"
220
#include "mradionode.h"
221
#include "
mabstractlist.h
"
222
#include "
mlist_layout.h
"
223
224
#ifdef _MGNCSCTRL_LIST
225
#include "
mlist.h
"
226
#endif
227
228
#include "
mrdr.h
"
229
230
#ifdef _MGNCSDB_DATASOURCE
231
#include "
mdatabinding.h
"
232
#include "
mdatasource.h
"
233
#endif
234
235
#ifdef _MGNCSCTRL_TEXTEDITOR
236
#include "mbtree.h"
237
#include "
mtexteditbase.h
"
238
#include "
mtextedit.h
"
239
#endif
240
241
#include "
mresmgr.h
"
242
243
#ifdef _MGNCSENGINE_IME
244
#include "
mime.h
"
245
#endif
246
247
#ifdef _MGNCSCTRL_IMWORDSEL
248
#include "
mime-wordsel.h
"
249
#endif
250
251
typedef
mMainWnd
* (*PNCS_CREATE_MAIN)(
HPACKAGE
, HWND hParent, HICON h_icon, HMENU h_menu, DWORD);
252
253
#ifdef _MGRM_THREADS
254
MGNCS_EXPORT
mMainWnd
* ncsSyncCallCreate(HWND host, PNCS_CREATE_MAIN pCreateMain, \
255
HPACKAGE
hPack, \
256
HICON h_icon, \
257
HMENU h_menu, \
258
DWORD user);
259
#else
260
261
262
#define ncsSyncCallCreate(host, pCreate, hPack, h_icon, h_menu, user) \
263
((PNCS_CREATE_MAIN)(pCreate))(hPack, host, h_icon, h_menu, user)
264
265
#endif
266
267
268
273
MGNCS_EXPORT BOOL
ncsInitialize
(
void
);
274
279
MGNCS_EXPORT
void
ncsUninitialize(
void
);
280
281
#ifdef __cplusplus
282
}
283
#endif
284
285
#endif
286
mpage.h
mpanel.h
mseparator.h
piece.h
mlistitem.h
mimagebutton.h
mledstatic.h
miconview.h
manimate.h
This file includes declaration of mAnimate.
mscrollview.h
mradiobutton.h
ncsInitialize
MGNCS_EXPORT BOOL ncsInitialize(void)
Register all controls and other classes in the MGNCS.
mprogressbar.h
mMainWnd
define the memders of mMainWnd, inherit from mPanel
mscroll_widget.h
mbuttongroup.h
mime-wordsel.h
medit.h
mtrackbar.h
mstatic.h
mitem.h
mspinner.h
mlistview.h
mpropsheet.h
mtoolbar.h
mlistcolumn.h
mitem_manager.h
mlistbox.h
mimage.h
mresmgr.h
mmledit.h
msledit.h
mcolorbutton.h
minvisible-component.h
mcomponent.h
mdatasource.h
mdatabinding.h
mgroupbox.h
HPACKAGE
GHANDLE HPACKAGE
Handle to resource package.
Definition:
mresmgr.h:70
mcommon.h
hashtable.h
This file includes some functions for hashtable.
mdblist.h
mobject.h
mmonthcalendar.h
mcombobox.h
mcontainer.h
mtype.h
mchecknode.h
mbutton.h
mitemview.h
mpopmenumgr.h
mtextedit.h
mslider.h
mnode.h
mrect.h
mspinbox.h
mscrollbar.h
mtoolbaritems.h
mime.h
mlist_layout.h
mlist.h
mtoolitem.h
mem-slab.h
mcheckbutton.h
mtimer.h
mtexteditbase.h
base header for the new text edit module.
mmenubutton.h
mabstractlist.h
This file includes the definition of mAbstractList.
mrdr.h
Generated by
1.8.17