HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

SFTBUTTON_HOVERSTYLE Constants

Values for the iHoverStyle field on SFTBUTTON_CONTROL.

SFTBUTTON_HOVERSTYLE_CONTROL (0)Hover state turns on when the mouse enters the button's client rectangle and off when it leaves. Default.
SFTBUTTON_HOVERSTYLE_EXACT (1)Hover state turns on only when the mouse is over a pixel covered by text or an image. Background padding is ignored.

fHoverOn on SFTBUTTON_CONTROL is TRUE whenever the mouse is over the button. The companion fields fHoverOnPic1, fHoverOnPic2 and fHoverOnText are TRUE only over the corresponding region and are most useful with SFTBUTTON_HOVERSTYLE_EXACT.

See Also Hover Detection | SFTBUTTON_CONTROL


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