diff options
Diffstat (limited to 'Src/nu/menushortcuts.h')
-rw-r--r-- | Src/nu/menushortcuts.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Src/nu/menushortcuts.h b/Src/nu/menushortcuts.h new file mode 100644 index 00000000..b9c9127a --- /dev/null +++ b/Src/nu/menushortcuts.h @@ -0,0 +1,20 @@ +#ifndef NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER +#define NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include <windows.h> + +#define MSF_REPLACE 0x0000 +#define MSF_APPEND 0x0001 +#define MSF_WALKSUBMENU 0x0100 + +BOOL AppendMenuShortcuts(HMENU hMenu, HACCEL *phAccel, INT count, UINT uMode); +BOOL AppendMenuShortcutsEx(HMENU hMenu, ACCEL *pszAccel, INT count, UINT uMode); +BOOL AppendShortcutText(LPWSTR pszItemText, INT cchTextMax, WORD wID, HACCEL *phAccel, INT count, UINT uMode); +BOOL AppendShortcutTextEx(LPWSTR pszItemText, INT cchTextMax, WORD wID, ACCEL *pszAccel, INT cchAccel, UINT uMode); + + +#endif // NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER
\ No newline at end of file |