This will make a button pressed in, but the button gets released when the button loses the focus.
Const BM_SETSTATE=243
SendMessage QueryObject(BUTTON_SMARTEDIT,1),BM_SETSTATE,True,0
Const BM_SETSTATE=243
SendMessage QueryObject(BUTTON_SMARTEDIT,1),BM_SETSTATE,True,0