PushButton Control

[This is preliminary documentation and subject to change.]

This control displays a basic push button.

If the Bitmap or the Icon style bit is set, the corresponding text entry in the Control Table is taken as a foreign key to the Binary Table that specifies the binary data needed to create the picture.

This means that the button cannot have both a picture and a text.

Property

There can be no property associated with this control.

Valid Style Bits

Bitmap
Enabled
FixedSize
Icon
IconSize
ImageHandle
Sunken
Visible

Valid Control Attributes

Default
Enabled
Position
Text
Visible
WindowHandle

Control Events Published

None.

Can Take Focus

Yes.

Remarks

The control is created with the "BUTTON" class.

It has the BS_MULTILINE, WS_CHILD, WS_TABSTOP, WS_GROUP styles.

If the Bitmap style is set it has the BS_BITMAP style.

If the Icon style is set it has the BS_ICON style.