Public Member Functions | |
this (Application a, uint id) | |
Constructs a new MenuBar from a resource. | |
this (Application a, string name) | |
Constructs a new MenuBar from a resource. | |
this () | |
Constructs a new, initially empty menu bar. | |
this (HMENU h, bool autoDelete=false) | |
Constructs a MenuBar object from a pre-existing Windows menu bar. | |
WindowBase | window () |
The window to which this MenuBar is attached. | |
Protected Member Functions | |
override bool | shouldDelete () |
Whether the Windows interface element should be destroyed when this MenuBar object is garbage-collected. | |
override void | updateDisplay () |
smjg.libs.sdwf.menu.MenuBar.this | ( | Application | a, | |
uint | id | |||
) |
Constructs a new MenuBar from a resource.
a | application instance to which the resource belongs. | |
id | numeric ID of the menu resource. |
smjg.libs.sdwf.menu.MenuBar.this | ( | Application | a, | |
string | name | |||
) |
Constructs a new MenuBar from a resource.
a | application instance to which the resource belongs. | |
name | name of the menu resource. |
smjg.libs.sdwf.menu.MenuBar.this | ( | ) |
Constructs a new, initially empty menu bar.
smjg.libs.sdwf.menu.MenuBar.this | ( | HMENU | h, | |
bool | autoDelete = false | |||
) |
override bool smjg.libs.sdwf.menu.MenuBar.shouldDelete | ( | ) | [protected] |
Whether the Windows interface element should be destroyed when this MenuBar object is garbage-collected.
Reimplemented from smjg.libs.sdwf.menu.Menu.
override void smjg.libs.sdwf.menu.MenuBar.updateDisplay | ( | ) | [protected] |
Reimplemented from smjg.libs.sdwf.menu.Menu.