DM_SETDEFID

2.x

DM_SETDEFID
wIDPushBtn = wParam; /* identifier of new default push button */

An application sends a DM_SETDEFID message to change the identifier of the default push button for a dialog box.

Parameters

wIDPushBtn

Value of wParam. Specifies the identifier of the push button that will become the default.

Return Value

The return value is always nonzero.