Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members Related Pages

# PopupMenu.h

Go to the documentation of this file.

    00001
    00002
    00003
    00004 #ifndef POPUPMENU_H
    00005 #define POPUPMENU_H
    00006
    00007 #include "Window.h"
    00008
    00009 namespace wkgl {
    00010
    00018 class PopupMenu : public Menu
    00019 {
    00020   protected:
    00021     Window* owner;
    00022
    00026     BOOL      respond;
    00027   public:
    00031     PopupMenu( Window* owner, BOOL autorespond = FALSE );
    00032
    00035     virtual ~PopupMenu();
    00036
    00040     virtual BOOL showMenuAt( int x, int y );
    00041
    00045     virtual BOOL showMenuHere();
    00046
    00049     virtual BOOL callBack(Component* com, UINT message,
    00050                       WPARAM wParam, LPARAM lParam);
    00051 };
    00052 }
    00053 #endif