## class XGPopControl

> Declared in <XPopup.h>
> Declared from XGControl

> The popup control

Top Level Access

> XGPopControl::Delete
> XGPopControl::DeleteAll
> XGPopControl::DoActivate
> XGPopControl::DoDrawView
> XGPopControl::DoMouseDown
> XGPopControl::DoMouseMove
> XGPopControl::DoMouseUp
> XGPopControl::GainFocus
> XGPopControl::GetItem
> XGPopControl::GetValue
> XGPopControl::Insert
> XGPopControl::Length
> XGPopControl::LoseFocus
> XGPopControl::SetValue
> XGPopControl::XGPopControl
> XGPopControl::~XGPopControl

Top Level Access

XGPopControl::Delete

> Usage: void XGPopControl::Delete(long index)

> Delete this item

XGPopControl::DeleteAll

> Usage: void XGPopControl::DeleteAll(void)

> Delete all items

XGPopControl::DoActivate

> Usage: void XGPopControl::DoActivate(bool)

> Handle activate/deactivate

XGPopControl::DoDrawView

> Usage: void XGPopControl::DoDrawView(Rect)

> Draw the view.

XGPopControl::DoMouseDown

> Usage: bool XGPopControl::DoMouseDown(Point,short)

> Handle mouse down event

XGPopControl::DoMouseMove

> Usage: void XGPopControl::DoMouseMove(Point pt,short flag)

> Handle mouse move event

XGPopControl::DoMouseUp

> Usage: void XGPopControl::DoMouseUp(Point,short)

> Handle mouse up event

XGPopControl::GainFocus

> Usage: void XGPopControl::GainFocus()

> Gain the focus. Redraw me

XGPopControl::GetItem

> Usage: void XGPopControl::GetItem(long index,char*data)const

> Get the specified item in a zero-based index

XGPopControl::GetValue

> Usage: long XGPopControl::GetValue()

> Get the value of this thing

XGPopControl::Insert

> Usage: void XGPopControl::Insert(long index,const char*buffer)

> Insert this item

XGPopControl::Length

> Usage: long XGPopControl::Length()const

> # items in me

XGPopControl::LoseFocus

> Usage: void XGPopControl::LoseFocus()

> Lose focus. Redraw me

XGPopControl::SetValue

> Usage: void XGPopControl::SetValue(long value)

> Set the value of this thing

XGPopControl::XGPopControl

> Usage: void XGPicture::DoDrawView(Rect u)

> Pop up control

XGPopControl::~XGPopControl

> Usage: XGPopControl::~XGPopControl()

> Delete me