blob: 02569e5243d821f5cc01033ed5ea8c045708c950 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// MyLoadMenu.h
#ifndef __MY_LOAD_MENU_H
#define __MY_LOAD_MENU_H
void OnMenuActivating(HWND hWnd, HMENU hMenu, int position);
// void OnMenuUnActivating(HWND hWnd, HMENU hMenu, int id);
// void OnMenuUnActivating(HWND hWnd);
bool OnMenuCommand(HWND hWnd, int id);
void MyLoadMenu();
struct CFileMenu
{
bool programMenu;
bool readOnly;
bool isFsFolder;
bool allAreFiles;
bool isAltStreamsSupported;
int numItems;
CFileMenu():
programMenu(false),
readOnly(false),
isFsFolder(false),
allAreFiles(false),
isAltStreamsSupported(true),
numItems(0)
{}
void Load(HMENU hMenu, unsigned startPos);
};
bool ExecuteFileCommand(int id);
#endif
|