[go: up one dir, main page]

Menu

[r25]: / PopupMenu.cpp  Maximize  Restore  History

Download this file

39 lines (28 with data), 779 Bytes

 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
37
38
// PopupMenu.cpp: implementation of the PopupMenu class.
//
//////////////////////////////////////////////////////////////////////
#include "PopupMenu.h"
#include "Helpers.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
PopupMenu::~PopupMenu()
{
DeleteObject(bmpColor);
DeleteObject(bmpMask);
}
PopupMenu::PopupMenu(int ResID, HBITMAP img, COLORREF trans, SIZE cellsz)
{
}
bool PopupMenu::AddItem(LPTSTR text, DWORD id, DWORD imgIdx)
{
return false;
}
bool PopupMenu::WndHook(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
return false;
}
bool PopupMenu::RemoveItem(DWORD id)
{
return false;
}