Index

# XMenu

XWindow &rarrXMenu

public
- CheckItem
- DeleteItem
- EnableItem
- InsertItem
- IsPopup
- QueryItem
- QueryItemCount
- QueryItemID
- RemoveItem
- SetItemText
- XMenu
- ~XMenu

#### Derrived

: public XWindow

## public

###

CheckItem

#### Definition

`

void CheckItem ( SHORT id, BOOL check )

void CheckItem ( SHORT id, BOOL check = TRUE )

`

#### Returns

void

###

DeleteItem

#### Definition

`

void DeleteItem ( SHORT id )

`

#### Returns

void

###

EnableItem

#### Definition

`

void EnableItem ( SHORT id, BOOL enable )

void EnableItem ( SHORT id, BOOL enable = TRUE )

`

#### Returns

void

###

InsertItem

#### Definition

`

void InsertItem ( XMenuItem* it, XMenuItem* subMenu )

void InsertItem ( XMenuItem* ins, XMenuItem* subMenu = NULL )

`

#### Returns

void

###

IsPopup

#### Definition

`

virtual BOOL IsPopup ( void )

`

#### Returns

BOOL

###

QueryItem

query an item of a XMenuBar or XPopupMenu

#### Definition

`

BOOL QueryItem ( XMenuItem* it, SHORT id )

BOOL QueryItem ( XMenuItem* itm, SHORT id )

`

#### Parameters

: XMenuItem * item buffer to hold the information SHORT theID the ID of the requested menu-item

#### Returns

BOOL

BOOL success

###

QueryItemCount

#### Definition

`

SHORT QueryItemCount ( void )

`

#### Returns

SHORT

###

QueryItemID

#### Definition

`

SHORT QueryItemID ( SHORT pos )

`

#### Returns

SHORT

###

RemoveItem

#### Definition

`

void RemoveItem ( SHORT id )

`

#### Returns

void

###

SetItemText

#### Definition

`

void SetItemText ( SHORT id, char* text )

`

#### Returns

void

###

XMenu

#### Definition

`

XMenu ( XMenu* m )

XMenu ( XMenu* = NULL )

`

#### Returns

-

###

~XMenu

#### Definition

`

virtual ~XMenu ( )

`

Created by AutoDoc, (C) 1996 by Jens von Pilgrim