◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINBUTTONS BM_SETDEFAULT mp1 = MPFROMSHORT((USHORT) fDefault); /* default state */ mp2 = 0L; /* not used, must be zero */ An application sends a BM_SETDEFAULT message to set the default state of a button control that has the BS_PUSHBUTTON or BS_USERBUTTON style. If the button does not have one of these styles, then the message has no effect. Parameter Description ──────────────────────────────────────────────────────────────────────────── fDefault Low word of mp1. Specifies the default state. A value of TRUE sets the default state; a value of FALSE removes the default state. Return Value The return value is TRUE whether or not the default state is changed. See Also BM_SETCHECK, BM_SETHILITE ♦