HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

SFTBUTTON_BORDER Constants

Values for the nBorderStyle field on SFTBUTTON_CONTROL.

SFTBUTTON_BORDER_THIN (0)Thin single-pixel border. Useful for dense toolbars and flat designs.
SFTBUTTON_BORDER_STANDARD (1)Classic raised-edge 3D border. Default.
SFTBUTTON_BORDER_PIXEL1 (2)Single-pixel flat border using the appropriate edge color from colorDarkEdge / colorLightEdge / colorShadowEdge / colorWhiteEdge. Useful for strongly colored buttons where the 3D edge would clash.

When themes are active (nUseThemes is SFTBUTTON_THEME_YES), the theme paints the border and nBorderStyle is ignored. Themes are suppressed automatically when dark mode or high contrast is active.

See Also Borders | SFTBUTTON_CONTROL


Last Updated 04/26/2026 - (email)
© 2026 Softel vdm, Inc.