SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
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);
Standard window-procedure parameters. See the Windows API documentation.
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
