logo
Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related

GUIToolkit::popupMenu Class Reference

A context menu (usually invoked on right mouse button click). More...

#include <menu.h>

Inheritance diagram for GUIToolkit::popupMenu:

GUIToolkit::Component List of all members.

Public Methods

 popupMenu (HWND hw)
 ~popupMenu ()
 Destructor.

void addToHWND (HWND hwnd)
 If HWND is not known at constructor time, use this later.

void add (menuItem *item)
 Adds item to menu.

void showMenu ()
 Show menu. Ensure HWND is set.


Detailed Description

A context menu (usually invoked on right mouse button click).

Definition at line 36 of file menu.h.


Constructor & Destructor Documentation

GUIToolkit::popupMenu::popupMenu HWND    hw
 

Constructor. Must be called with handle to the window we'll display it on.

Todo:
should be called with something else than a HWND

Definition at line 13 of file menu.cpp.


The documentation for this class was generated from the following files:
Syntopia Project. Visit the web page, or the SourceForge page.
Docs made by Doxygen. Email: Mikael Christensen