Object |
Style Flags |
Comment |
Frames of All Controls |
FF_NONE
FF_THIN
FF_RAISED
FF_RECESSED
FF_THICK |
No frame
Thin frame
Raised 3d frame
Recessed 3d frame
Thick 3d frame |
Text Justification |
TJ_RIGHT
TJ_LEFT
TJ_CENTER |
Left justify text
Right justify text
Center text |
Titles |
TF_SYSBUTTON
TF_MINMAXBUTTON
TF_CLOSEBUTTON |
Display left upper system button
Display minimize button
Display close button |
Text |
TT_COPY |
Copy string into text object |
List |
LS_WRAP_SELECT |
Wrap selection at top or bottom |
Buttons |
BF_REPEAT
BF_SELECTED
BF_DOWNACTION
BF_FULLBORDER
BF_SEPARATOR
BF_CHECKABLE
BF_CHECKED
BF_DOTABLE
BF_DOTTED |
Autorepeat when held down
Initially selected
Send notification on down
Slightly different border styleDrawn as separator only
Menu button includes checkmark
Check-mark button is checked
Menu button includes radio button style
dot
Dotable menu button is selected |
Edit Control |
EF_EDIT
EF_WRAP |
Object text can be modified
Auto-wrap text to fit client width |
Message Window |
MW_OK
MW_YES
MW_NO
MW_ABORT
MW_RETRY
MW_CANCEL |
Show OK button
Show YES button
Show NO button
Show ABORT button
Show RETRY button
Show CANCEL button |
Table |
TS_SOLID_FILL
TS_DRAW_GRID
TS_PARTIAL_COL
TS_PARTIAL_ROW
TS_DRAW_HORZ_GRID
TS_DRAW_VERT_GRID |
Background filled with solid color
Table draws gridlines
SpreadSheet displays partial columns
SpreadSheet displays partial rows
Draws only the horizontal grid lines between rows of cells
Draws only the vertical grid lines between columns |
Table Cells |
TCF_FORCEFIT
TCF_HCENTER
TCF_HLEFT
TCF_HRIGHT
TCF_VCENTER
TCF_VTOP
TCF_VBOTTOM |
Force the table to automatically adjust cell size
Horizontally centers cell object within the bounding cell
Left justifies cell object within the bouding cell
Right justifies cell object within the bounding cell
Vertically centers cell object within the bounding cell
Top justifies cell object within the bounding cell
Bottom justifies cell object within the bounding cell |
Spreadsheet |
SS_CELL_SELECT
SS_PARTIAL_COL
SS_MULTI_ROW_SELECT
SS_MULTI_COL_SELECT |
Allow cell selection
Draw partially clopped columns
Allow multi-row selections
Allow multi-column selection |
Spreadsheet Column |
SCF_ALLOW_SELECT
SCF_SELECTED
SCF_SEPARATOR
SCF_CELL_SELECT |
Allow column selection
Column is selected
Column is a separator
Cell selection allows with this column |
Spreadsheet Row |
SRF_ALLOW_SELECT
SRF_SELECTED
|
Allow row selection
Row is selected |
Notebook |
NS_TOPTABS
NS_BOTTOMTABS
NS_TEXTTABS |
Tabs appear at top of notebook
Tabs appear at bottom of notebook
Tabs contain text (not custom objects) |
Slider |
SF_SNAP
SF_SCALE
SF_VALUE |
Snap to even step positions
Draw scale marks
Show value when modified |
Progress Bar |
PS_SHOW_VAL
PS_RECESSED
PS_LED
PS_VERTICAL
PS_PERCENT |
Also display as text
Recessed progress indicator
Display a segmented LED indicator
Vertical instead of horizontal
Add "%" indicator |
Spin Button |
SB_VERTICAL |
Vertical orientation |
Miscellaneous |
AF_TRANSPARENT
AF_ENABLED |
Do not fill client area
Draw active and selectable |
Charts |
CS_DRAWXGRID
CS_DRAWYGRID
CS_DRAWXTICS
CS_DRAWYTICS
CS_AUTOSIZE
CS_DRAWXLABELS
CS_DRAWYLABELS
CS_PAGED
CS_SCROLLED |
Draw X grid
Draw Y grid
Draw tick marks on X axis
Draw tick marks on Y axis
Rescale on resize events
Draw labels on X axis
Draw labels on Y axis
See PegStripChart
See PegStripChart |
Dials |
DS_TICMARKS
DS_THINNEEDLE
DS_THICKNEEDLE
DS_POLYNEEDLE
DS_RECTCOR
DS_USERCOR
DS_STANDARDSTYLE |
See PegDial |
Scales |
SS_FACELEFT
SS_FACETOP
SS_BOTTOMTOTOP
SS_LEFTTORIGHT
SS_ORIENTVERT
SS_TICMARKS
SS_USERTRAVEL
SS_THINNEEDLE
SS_THICKNEEDLE
SS_POLYNEEDLE
SS_STANDARDSTYLE |
See PegScale |