--- np2/embed/menubase/menudlg.h 2003/11/21 09:28:02 1.2 +++ np2/embed/menubase/menudlg.h 2005/03/24 04:40:33 1.4 @@ -80,9 +80,9 @@ const void *arg; } MENUPRM; typedef struct { - UINT16 pos; - UINT16 icon; -const char *str; + UINT16 pos; + UINT16 icon; +const OEMCHAR *str; } ITEMEXPRM; #define SLIDERPOS(a, b) (((UINT16)a) | (((UINT16)b) << 16)) @@ -92,12 +92,12 @@ const char *str; extern "C" { #endif -BOOL menudlg_create(int width, int height, const char *str, +BRESULT menudlg_create(int width, int height, const OEMCHAR *str, int (*proc)(int msg, MENUID id, long param)); void menudlg_destroy(void); -BOOL menudlg_appends(const MENUPRM *res, int count); -BOOL menudlg_append(int type, MENUID id, MENUFLG flg, const void *arg, +BRESULT menudlg_appends(const MENUPRM *res, int count); +BRESULT menudlg_append(int type, MENUID id, MENUFLG flg, const void *arg, int posx, int posy, int width, int height); void menudlg_moving(int x, int y, int btn);