View Single Post
Old 15th September 2011, 19:23   #4
EZsteve
Junior Member
 
Join Date: Sep 2011
Posts: 6
Hi: MSG, thanks, you pointed me in the RIGHT DIRECTION:

Change the DEFAULT. So I went to RESOURCE HACKER and changed DIALOG 105 of modern.exe to set the BACK BUTTON to BS_DEFPUSHBUTTON - This worked like a charm - Many thanks. HOWEVER, that (Obviously) changes the default throughout the installer. New question: How to change the PROPERTIES of a BUTTON within a function (So that it applies to this one dialog only).

From:
"CONTROL "", 3, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 166, 201, 50, 14"

To:
"CONTROL "", 3, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 166, 201, 50, 14"

Demiller9: Tried that, but that just changed the DEFAULT to the ACCEPT button (Tried it with a "0" and a "1".
EZsteve is offline   Reply With Quote