HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

SetDesign

Switch the button into or out of design mode.

C

BOOL SftButton_SetDesign(HWND hwndCtl, BOOL fDesign);

C++

BOOL CSftButton::SetDesign(BOOL fDesign);

Parameters

hwndCtl

The window handle of the button control.

fDesign

TRUE to enter design mode, FALSE to leave it.

Return Value

TRUE.

Comments

Design mode is intended for design-time tooling (dialog editors, property-page previews). Applications generally leave the control in runtime mode (the default) and do not call SetDesign.

See Also GetDesign


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