minvisible-component.h

Go to the documentation of this file.
00001 
00016 #ifndef _MGUI_NCSCTRL_INVISIBLECOMP_H
00017 #define _MGUI_NCSCTRL_INVISIBLECOMP_H
00018 
00019 #ifdef __cplusplus
00020 extern "C"{
00021 #endif
00022 
00027 typedef struct _mInvsbCompClass mInvsbCompClass;
00028 typedef struct _mInvsbComp mInvsbComp;
00029 
00030 
00031 #define mInvsbCompClassHeader(clss, superCls) \
00032         mComponentClassHeader(clss, superCls) 
00033 
00042 struct _mInvsbCompClass {
00043         mInvsbCompClassHeader(mInvsbComp, mComponent)
00044 };
00045 
00050 MGNCS_EXPORT extern mInvsbCompClass g_stmInvsbCompCls; //Class(mInvsbComp);
00051 
00052 
00053 #define mInvsbCompHeader(clss) \
00054         mComponentHeader(clss) \
00055         int id; \
00056         mComponent* parent, *prev, *next; 
00057 
00069 struct _mInvsbComp {
00070         mInvsbCompHeader(mInvsbComp)
00071 };
00072 
00077 enum ncsInvsbCompProp {
00078         NCSP_IVCMPT_MAX  = 0
00079 };
00080 
00083 
00084 
00085 
00101 typedef struct _NCS_INVSB_CREATE_INFO {
00105         mComponent        * parent;
00109         int                 id;
00115         NCS_PROP_ENTRY    * props;
00121         NCS_EVENT_HANDLER * handlers;
00122 
00126         DWORD               user_data;
00127 }NCS_INVSB_CREATE_INFO;
00128 
00144 MGNCS_EXPORT mInvsbComp * ncsCreateInvsbComp(const char* class_name, mComponent* parent, int id, NCS_PROP_ENTRY *props, NCS_EVENT_HANDLER * handlers, DWORD user_data);
00145 
00157 MGNCS_EXPORT mInvsbComp * ncsCreateInvsbCompIndirect(const char* class_name, NCS_INVSB_CREATE_INFO *create_info);
00158 
00159 
00164 #ifdef __cplusplus
00165 }
00166 #endif
00167 
00168 
00169 #endif
00170 
00171 
Generated on Fri Jun 10 11:18:06 2011 for New Control Set V1.0.0 API Reference by  doxygen 1.6.3