smjg.libs.sdwf.menu.MenuPopup Class Reference

The smjg.libs.sdwf.menu.MenuPopup class represents a popup menu. More...

Inheritance diagram for smjg.libs.sdwf.menu.MenuPopup:

smjg.libs.sdwf.menu.Menu

List of all members.

Public Member Functions

 this ()
 Creates a new, initially empty popup menu.
 this (HMENU h, bool autoDelete=false)
 Constructs a MenuBar object from a pre-existing Windows menu bar.
MenuItem parentItem ()
 The item in the parent menu that opens this menu as a submenu.
Menu parent ()
 The parent menu of this menu.

Protected Member Functions

override bool shouldDelete ()


Detailed Description

The smjg.libs.sdwf.menu.MenuPopup class represents a popup menu.

A popup menu can be used:

Since:
0.5

Constructor & Destructor Documentation

smjg.libs.sdwf.menu.MenuPopup.this (  ) 

Creates a new, initially empty popup menu.

smjg.libs.sdwf.menu.MenuPopup.this ( HMENU  h,
bool  autoDelete = false 
)

Constructs a MenuBar object from a pre-existing Windows menu bar.

Parameters:
h handle of the menu bar.
autoDelete whether SDWF will automatically destroy the menu bar when the MenuPopup object is garbage-collected.

Reimplemented from smjg.libs.sdwf.menu.Menu.


Member Function Documentation

MenuItem smjg.libs.sdwf.menu.MenuPopup.parentItem (  ) 

The item in the parent menu that opens this menu as a submenu.

Menu smjg.libs.sdwf.menu.MenuPopup.parent (  ) 

The parent menu of this menu.

override bool smjg.libs.sdwf.menu.MenuPopup.shouldDelete (  )  [protected]

Reimplemented from smjg.libs.sdwf.menu.Menu.


The documentation for this class was generated from the following file:
Generated on Sun Jan 11 21:54:15 2009 for Stewart's D Windows Framework by  doxygen 1.5.4