54 #ifndef _MGUI_RESMANAGER_H 55 #define _MGUI_RESMANAGER_H 76 #define HPACKAGE_NULL ((GHANDLE)0) 78 #define NCSRT_MASK 0x0FFF 80 #define NCSRT_STRING 0x0001 81 #define NCSRT_TEXT 0x0002 82 #define NCSRT_IMAGE 0x0004 83 #define NCSRT_UI 0x0008 84 #define NCSRT_RDRSET 0x0010 85 #define NCSRT_RDR 0x0020 86 #define NCSRT_BINARY 0x0040 92 #define NCSRM_SYSSTR_BASEID 1 98 #define NCSRM_SYSSTR_MAXID 128 104 #define NCSRM_SYSSTR_DEFRDR (NCSRT_STRING << 16) |NCSRM_SYSSTR_BASEID 110 #define NCSRT_EXT_LEN 15 116 #define NCSRM_VERSION_LEN 4 122 #define NCSRM_VENDOR_LEN 16 128 #define NCSRM_ENCODING_LEN 16 405 #define ncsLoadResPackage ncsLoadResPackageFromFile 459 MGNCS_EXPORT
int ncsGetBitmap(HDC hdc, HPACKAGE package, Uint32 resId, PBITMAP pBitmap);
487 PMYBITMAP myBmp, RGB* pal);
512 MGNCS_EXPORT
const char*
ncsGetString (HPACKAGE package, Uint32 resId);
526 MGNCS_EXPORT BOOL
ncsSetSysRdr(HPACKAGE package, Uint32 rdrSetId);
541 MGNCS_EXPORT BOOL
ncsSetWinRdr(HWND hWnd, HPACKAGE package, Uint32 rdrId);
543 typedef struct _NCS_EVENT_HANDLER_INFO
547 }NCS_EVENT_HANDLER_INFO;
572 Uint32 wndId, HWND owner, HICON hIcon,
573 HMENU hMenu, NCS_EVENT_HANDLER_INFO* handlers,
577 #ifdef _MGNCSCTRL_DIALOGBOX 599 MGNCS_EXPORT
int ncsCreateModalDialogFromID (HPACKAGE package, Uint32 dlgId,
600 HWND owner, HICON hIcon, HMENU hMenu,
622 NCS_EVENT_HANDLER_INFO* handlers);
define the memders of mMainWnd, inherit from mPanel