--- mstools/h/wfext.h 2018/08/09 18:21:13 1.1 +++ mstools/h/wfext.h 2018/08/09 18:23:09 1.1.1.2 @@ -4,12 +4,7 @@ * * * Version 3.10 * * * -* Copyright (c) 1991-1992, Microsoft Corp. All rights reserved. * -* * -* FILE HISTORY: * -* beng 02-Apr-1992 Unicode conversion * -* JohnL 12-May-1992 Converted to Unicode * -* AlbertT 05-Aug-1992 Merged with winfile version * +* Copyright (c) 1991-1993, Microsoft Corp. All rights reserved. * * * *******************************************************************************/ @@ -31,7 +26,8 @@ extern "C" { #define FMEVENT_USER_REFRESH 103 #define FMEVENT_SELCHANGE 104 #define FMEVENT_TOOLBARLOAD 105 - +#define FMEVENT_HELPSTRING 106 +#define FMEVENT_HELPMENUITEM 107 #define FMFOCUS_DIR 1 #define FMFOCUS_TREE 2 @@ -79,16 +75,22 @@ typedef struct tagEXT_BUTTON { WORD fsStyle; /* button style */ } EXT_BUTTON, FAR *LPEXT_BUTTON; -#define TBSTYLE_SEP 0x0001 - typedef struct tagFMS_TOOLBARLOAD { DWORD dwSize; /* for version checks */ LPEXT_BUTTON lpButtons; /* output */ WORD cButtons; /* output, 0==>no buttons */ WORD cBitmaps; /* number of non-sep buttons */ WORD idBitmap; /* output */ + HBITMAP hBitmap; /* output if idBitmap==0 */ } FMS_TOOLBARLOAD, FAR *LPFMS_TOOLBARLOAD; +typedef struct tagFMS_HELPSTRING +{ + INT idCommand; /* input, -1==>the menu was selected */ + HMENU hMenu; /* input, the extensions menu */ + CHAR szHelp[128]; /* output, the help string */ +} FMS_HELPSTRING, FAR *LPFMS_HELPSTRING; + typedef DWORD (APIENTRY *FM_EXT_PROC)(HWND, WORD, LONG); typedef DWORD (APIENTRY *FM_UNDELETE_PROC)(HWND, LPSTR); @@ -100,4 +102,3 @@ LONG WINAPI FMExtensionProc(HWND hwnd, W #endif /* _INC_WFEXT */ -