blob: 29b3d246968fc295a34cf23a815df5110eb5d7b0 (
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
|
#include "common.h"
#include "menu.h"
HANDLE hMenuDisable, hMenuGraph, hMenuEdit;
HANDLE hEventMenuBuild;
void InitMenus()
{
// main menu
CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIF_TCHAR;
mi.popupPosition = 500099900;
mi.ptszPopupName = LPGENT("PING");
mi.position = 2000060000;
mi.hIcon = hIconResponding;
mi.ptszName = LPGENT("Enable All Pings");
mi.pszService = PLUG "/EnableAll";
Menu_AddMainMenuItem(&mi);
mi.popupPosition = 500299901;
mi.position = 2000060001;
mi.popupPosition = 0;
mi.hIcon = hIconDisabled;
mi.ptszName = LPGENT("Disable All Pings");
mi.pszService = PLUG "/DisableAll";
Menu_AddMainMenuItem(&mi);
}
|