#ifndef __OOL_XOPOPUP_H__
#define __OOL_XOPOPUP_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XPopupMenu                            */
/*                       derived from: XMenu                                 */
/*                        last update: 4/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/



#include "xmenu.h"

class XResource;
class XPoint;
class XFrameWindow;

class _export_ XPopupMenu: public XMenu
{
   private:
     XFrameWindow * owner;
   public:
     XPopupMenu( XResource *, XFrameWindow *);
     virtual ~XPopupMenu() {;}
     void Display( XPoint * p, USHORT def = 0, ULONG style= PU_HCONSTRAIN | PU_VCONSTRAIN | PU_KEYBOARD | PU_POSITIONONITEM | PU_NONE | PU_MOUSEBUTTON1);
     BOOL IsPopup(void) { return TRUE; }
};

#endif
