View Single Post
Old 15th September 2011, 18:05   #3
demiller9
Senior Member
 
Join Date: Mar 2006
Location: Dallas
Posts: 462
You'll want to send DM_SETDEFID (0x0401) to the parent dialog. The wparam will be the control id (not the handle). If you are creating your Accept/Decline/Back buttons on your custom page, the dialog is not HWNDPARENT, it is your inner dialog.
code:
!define DM_SETDEFID 0x0401
SendMessage $HWND ${DM_SETDEFID} $mui.Button.Back.Id 0

demiller9 is offline   Reply With Quote