xoblite™ / Blackbox for Windows bb5 | RC6 preview | 0.25.2.14
http://xoblite.net/
Menu.h File Reference
#include "MenuItem.h"
#include <windows.h>
#include <vector>

Classes

class  Menu
 

Macros

#define HIDE_OTHERS   2
 
#define HIDE_CHILDREN   1
 
#define HIDE_THIS   0
 
#define HIDE_PARENTS   -1
 
#define ALIGN_LEFT   1
 
#define ALIGN_TOP   1
 
#define ALIGN_CENTER   0
 
#define ALIGN_RIGHT   -1
 
#define ALIGN_BOTTOM   -1
 
#define MENU_TRACK_MOUSE_TIMER   4437
 
#define GET_X_LPARAM(lp)
 
#define GET_Y_LPARAM(lp)
 

Typedefs

typedef vector< MenuItem * >::iterator MENUITERATOR
 

Macro Definition Documentation

◆ HIDE_OTHERS

#define HIDE_OTHERS   2

◆ HIDE_CHILDREN

#define HIDE_CHILDREN   1

◆ HIDE_THIS

#define HIDE_THIS   0

◆ HIDE_PARENTS

#define HIDE_PARENTS   -1

◆ ALIGN_LEFT

#define ALIGN_LEFT   1

◆ ALIGN_TOP

#define ALIGN_TOP   1

◆ ALIGN_CENTER

#define ALIGN_CENTER   0

◆ ALIGN_RIGHT

#define ALIGN_RIGHT   -1

◆ ALIGN_BOTTOM

#define ALIGN_BOTTOM   -1

◆ MENU_TRACK_MOUSE_TIMER

#define MENU_TRACK_MOUSE_TIMER   4437

◆ GET_X_LPARAM

#define GET_X_LPARAM ( lp)
Value:
((int)(short)LOWORD(lp))

◆ GET_Y_LPARAM

#define GET_Y_LPARAM ( lp)
Value:
((int)(short)HIWORD(lp))

Typedef Documentation

◆ MENUITERATOR

typedef vector<MenuItem*>::iterator MENUITERATOR