HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

WndProc

The button control's window procedure. Exposed for advanced scenarios (subclassing, custom window-class registration); applications do not call it directly.

C

LRESULT CALLBACK SftButton_WndProc(HWND hwndCtl, UINT msg, WPARAM wParam, LPARAM lParam);

Parameters

Standard window-procedure parameters. See the Windows API documentation.

Comments

SftButton_WndProc is registered as the window procedure for the SftButtonControl30 window class by SftButton_RegisterApp. Applications that register their own window class backed by the button's window procedure (for example, to add process-wide behavior across all buttons) can pass this function as the lpfnWndProc field.

Most applications do not subclass SftButton. Subclassing should chain correctly through CallWindowProc, but the button's internal state assumes unhindered access to every message the control cares about - aggressive subclass filtering can break rendering or input.

See Also RegisterApp


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