MenuBox Class

Definition

Line 974 of System.Windows/Menu.cm

Inheritance

Constructors & Destructor

public MenuBox(MenuBoxCreateParams& createParams, MenuBar* menuBar_, MenuItem* rootItem_)
public MenuBox(const Font& font, MenuBar* menuBar_, MenuItem* rootItem_)

Member Functions

protected virtual Point GetBoxLocation() const
protected inline nothrow MenuItem* GetRootItem() const
protected override void OnMouseDown(MouseEventArgs& args)
protected override void OnMouseEnter()
protected override void OnMouseLeave()
protected override void OnMouseMove(MouseEventArgs& args)
protected override void OnMouseUp(MouseEventArgs& args)
protected override void OnPaint(PaintEventArgs& args)
public inline nothrow bool PaintThisMenuBox() const
private nothrow Control* ParentControl() const
public override void PrintWindowTree(int level)
public nothrow void SetPaintThisMenuBox(bool paintThisMenuBox_)

Member Variables

private MenuBar* menuBar
private bool paintMenu
private bool paintThisMenuBox
private MenuItem* rootItem

Constructor& Destructor Details

MenuBox Constructor

public MenuBox(MenuBoxCreateParams& createParams, MenuBar* menuBar_, MenuItem* rootItem_)

Definition
Line 981 of System.Windows/Menu.cm


MenuBox Constructor

public MenuBox(const Font& font, MenuBar* menuBar_, MenuItem* rootItem_)

Definition
Line 976 of System.Windows/Menu.cm


Member Function Details

GetBoxLocation Member Function

protected virtual Point GetBoxLocation()

Definition
Line 1001 of System.Windows/Menu.cm


GetRootItem Member Function

protected inline nothrow MenuItem* GetRootItem()

Definition
Line 1148 of System.Windows/Menu.cm


OnMouseDown Member Function

protected override void OnMouseDown(MouseEventArgs& args)

Definition
Line 1107 of System.Windows/Menu.cm


OnMouseEnter Member Function

protected override void OnMouseEnter()

Definition
Line 1071 of System.Windows/Menu.cm


OnMouseLeave Member Function

protected override void OnMouseLeave()

Definition
Line 1095 of System.Windows/Menu.cm


OnMouseMove Member Function

protected override void OnMouseMove(MouseEventArgs& args)

Definition
Line 1079 of System.Windows/Menu.cm


OnMouseUp Member Function

protected override void OnMouseUp(MouseEventArgs& args)

Definition
Line 1128 of System.Windows/Menu.cm


OnPaint Member Function

protected override void OnPaint(PaintEventArgs& args)

Definition
Line 1005 of System.Windows/Menu.cm


PaintThisMenuBox Member Function

public inline nothrow bool PaintThisMenuBox()

Definition
Line 989 of System.Windows/Menu.cm


ParentControl Member Function

private nothrow Control* ParentControl()

Definition
Line 1058 of System.Windows/Menu.cm


PrintWindowTree Member Function

public override void PrintWindowTree(int level)

Definition
Line 993 of System.Windows/Menu.cm


SetPaintThisMenuBox Member Function

public nothrow void SetPaintThisMenuBox(bool paintThisMenuBox_)

Definition
Line 985 of System.Windows/Menu.cm