![]() |
Public API Reference |
#include "cscomp.h"
Go to the source code of this file.
Compounds | |
class | csButton |
The Button class implements different types of push buttons. More... | |
Button style flags | |
#define | CSBS_SHIFT 0x00000001 |
does bitmap and/or text shift when button is pressed? More... | |
#define | CSBS_DEFAULT 0x00000002 |
Is this the default button? More... | |
#define | CSBS_NODEFAULTBORDER 0x00000004 |
Never draw a "default button" border. More... | |
#define | CSBS_SELECTABLE 0x00000008 |
Is this button selectable? More... | |
#define | CSBS_NOMOUSEFOCUS 0x00000010 |
Do not focus button when clicked by mouse. More... | |
#define | CSBS_NOKEYBOARDFOCUS 0x00000020 |
Do not focus button when activated with keyboard. More... | |
#define | CSBS_MULTICHOOSE 0x00000040 |
Button is a multi-choose button. More... | |
#define | CSBS_DISMISS 0x00000080 |
Dismiss parent dialog when this button is pressed. More... | |
#define | CSBS_TEXTPLACEMENT 0x00030000 |
Text placement relative to bitmap: value mask. More... | |
#define | CSBS_TEXTABOVE 0x00000000 |
Draw text above bitmap. More... | |
#define | CSBS_TEXTBELOW 0x00010000 |
Draw text below the bitmap. More... | |
#define | CSBS_TEXTONTOP 0x00020000 |
Draw text on top of the bitmap (bitmap as background). More... | |
#define | CSBS_DEFAULTVALUE (CSBS_SHIFT | CSBS_SELECTABLE | CSBS_TEXTBELOW) |
Default button styles. More... | |
Enumerations | |
enum | { cscmdButtonDown = 0x00000500, cscmdButtonUp, cscmdButtonRightClick, cscmdButtonDeselect } |
Button messages. More... | |
enum | csButtonFrameStyle { csbfsNone, csbfsOblique, csbfsThickRect, csbfsThinRect, csbfsVeryThinRect, csbfsTextured, csbfsBitmap } |
Possible button frame styles. More... |
Definition in file csbutton.h.