42 #ifndef _MGUI_RESMANAGER_H 43 #define _MGUI_RESMANAGER_H 64 #define HPACKAGE_NULL ((GHANDLE)0) 66 #define NCSRT_MASK 0x0FFF 68 #define NCSRT_STRING 0x0001 69 #define NCSRT_TEXT 0x0002 70 #define NCSRT_IMAGE 0x0004 71 #define NCSRT_UI 0x0008 72 #define NCSRT_RDRSET 0x0010 73 #define NCSRT_RDR 0x0020 74 #define NCSRT_BINARY 0x0040 80 #define NCSRM_SYSSTR_BASEID 1 86 #define NCSRM_SYSSTR_MAXID 128 92 #define NCSRM_SYSSTR_DEFRDR (NCSRT_STRING << 16) |NCSRM_SYSSTR_BASEID 98 #define NCSRT_EXT_LEN 15 104 #define NCSRM_VERSION_LEN 4 110 #define NCSRM_VENDOR_LEN 16 116 #define NCSRM_ENCODING_LEN 16 393 #define ncsLoadResPackage ncsLoadResPackageFromFile 447 MGNCS_EXPORT
int ncsGetBitmap(HDC hdc, HPACKAGE package, Uint32 resId, PBITMAP pBitmap);
475 PMYBITMAP myBmp, RGB* pal);
500 MGNCS_EXPORT
const char*
ncsGetString (HPACKAGE package, Uint32 resId);
514 MGNCS_EXPORT BOOL
ncsSetSysRdr(HPACKAGE package, Uint32 rdrSetId);
529 MGNCS_EXPORT BOOL
ncsSetWinRdr(HWND hWnd, HPACKAGE package, Uint32 rdrId);
531 typedef struct _NCS_EVENT_HANDLER_INFO
535 }NCS_EVENT_HANDLER_INFO;
560 Uint32 wndId, HWND owner, HICON hIcon,
561 HMENU hMenu, NCS_EVENT_HANDLER_INFO* handlers,
565 #ifdef _MGNCSCTRL_DIALOGBOX 587 MGNCS_EXPORT
int ncsCreateModalDialogFromID (HPACKAGE package, Uint32 dlgId,
588 HWND owner, HICON hIcon, HMENU hMenu,
610 NCS_EVENT_HANDLER_INFO* handlers);
define the memders of mMainWnd, inherit from mPanel