HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

Refresh

Force the button to invalidate and redraw itself.

C

void SftButton_Refresh(HWND hwndCtl);

C++

void CSftButton::Refresh();

Parameters

hwndCtl

The window handle of the button control.

Comments

SetControlInfo and the dark-mode / high-contrast / DPI handlers invalidate the control automatically; most applications do not need to call Refresh explicitly. Refresh is useful after changing state that the button does not observe (for example, an external background image that the button is alpha-blending against).

See Also SetControlInfo


Last Updated 05/09/2026 - (email)
© 2026 Softel vdm, Inc.