Declared in <XButtons.h>
Declared from XGControlThe command button base object. This knows how to handle the three standard buttons.
Public methods
XGButton::DoActivate
XGButton::DoDrawView
XGButton::DoEnable
XGButton::DoMouseDown
XGButton::DoMouseMove
XGButton::DoMouseUp
XGButton::DoMoveView
XGButton::DoShowHide
XGButton::DoSizeView
XGButton::GetTitle
XGButton::GetValue
XGButton::PushButton
XGButton::SetFocus
XGButton::SetTitle
XGButton::SetValue
XGButton::XGButton
XGButton::~XGButton
Public methods
Usage: void XGButton::DoActivate(bool)
Activate/deactivate.
Usage: void XGButton::DoDrawView(Rect)
Handle the drawing
Usage: void XGButton::DoEnable()
Handle enable/disable events. Passes the enable/disable event to the control
Usage: bool XGButton::DoMouseDown(Point pt,short a)
Handle the mouse down event. Only used for the Macintosh
Usage: void XGButton::DoMouseMove(Point pt,short a)
handle mouse move events
Usage: void XGButton::DoMouseUp(Point pt,short a)
handle mouse up
Usage: void XGButton::DoMoveView()
Move the view.
Usage: void XGButton::DoShowHide()
This is called when the control is to be hidden or shown. This only needs to hide the control; the call to DoDrawView() will show the control if needed.
Usage: void XGButton::DoSizeView()
Handle resize event
Usage: void XGButton::GetTitle(char*name)const
Get the name
Usage: long XGButton::GetValue(void)
Get the value of this thing
Usage: void XGButton::PushButton()
Temporary push button act, and return message. This does the appropriate thing on the target platform
Usage: bool XGButton::SetFocus(void)
Set the focus. This overrides stuff on Windows by setting the MS Window focus as well.
Usage: void XGButton::SetTitle(const char*name)
Set the name
Usage: void XGButton::SetValue(long value)
Set the value of this thing
Usage: void XGBroadcast::SendPostBroadcast()
Construct me.
Usage: XGButton::~XGButton()
Destruct me