2 * Acess2 GUI Version 3 (AxWin3)
3 * - By John Hodge (thePowersGang)
8 #ifndef _AXWIN3_MENU_H_
9 #define _AXWIN3_MENU_H_
11 typedef void (*tAxWin3_Menu_Callback)(void *Ptr);
12 typedef struct sAxWin3_MenuItem tAxWin3_MenuItem;
14 extern tHWND AxWin3_Menu_Create(tHWND Parent);
15 extern void AxWin3_Menu_ShowAt(tHWND Menu, int X, int Y);
17 extern tAxWin3_MenuItem *AxWin3_Menu_AddItem(
18 tHWND Menu, const char *Label,
19 tAxWin3_Menu_Callback Cb, void *Ptr,
20 int Flags, tHWND SubMenu
22 extern tAxWin3_MenuItem *AxWin3_Menu_GetItem(tHWND Menu, int Index);
23 extern void AxWin3_Menu_SetFlags(tAxWin3_MenuItem *Item, int Flags, int Mask);