Switch the button into or out of design mode.
C
BOOL SftButton_SetDesign(HWND hwndCtl, BOOL fDesign);
C++
BOOL CSftButton::SetDesign(BOOL fDesign);
hwndCtl
The window handle of the button control.
fDesign
TRUE to enter design mode, FALSE to leave it.
TRUE.
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