Category : C Source Code
Archive   : DIALOG.ZIP
Filename : MENU.HPP

 
Output of file : MENU.HPP contained in archive : DIALOG.ZIP
//
// $Header$
// $Log$
//
// Copyright 1991
//
// Objective Systems, Inc.
// Richard A. Doust 3/13/91
// Phone: (201) 335-0691
//

#include
#ifndef MENU_HPP
#define MENU_HPP

class PxSubMenuItem : public UIW_POP_UP_ITEM
{
private:
USHORT MenuId;

public:
PxSubMenuItem(char *name, USHORT mniFlags, USHORT btFlags,
USHORT woFlags, void(*userFunc)(void *item, UI_EVENT &event),
USHORT id);
USHORT GetId() const { return MenuId; }
virtual ~PxSubMenuItem() {}
};

class PxMenu : public UIW_PULL_DOWN_MENU
{
private:
static PXTABLE MenuTable;
static PXTABLE MenuItemTable;
RECORDNUMBER CurRec;
UIW_PULL_DOWN_ITEM *SubMenu(char *, USHORT,
void (*userFunc)(void *item, UI_EVENT &event));

public:
PxMenu(char *name, void(*userFunc)(void *item, UI_EVENT &event));
virtual ~PxMenu() {}
};
#endif

  3 Responses to “Category : C Source Code
Archive   : DIALOG.ZIP
Filename : MENU.HPP

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/