Update of /cvsroot/popfile/windows
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27108
Modified Files:
Tag: b0_22_2
dbicapture.nsi
Log Message:
Use smarter code to highlight the default radiobutton.
Index: dbicapture.nsi
===================================================================
RCS file: /cvsroot/popfile/windows/Attic/dbicapture.nsi,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** dbicapture.nsi 13 Feb 2008 22:10:37 -0000 1.1.2.4
--- dbicapture.nsi 13 Feb 2008 22:50:46 -0000 1.1.2.5
***************
*** 86,90 ****
;--------------------------------------------------------------------------
! !define C_VERSION "0.0.4"
!define C_OUTFILE "dbicapture.exe"
--- 86,90 ----
;--------------------------------------------------------------------------
! !define C_VERSION "0.0.5"
!define C_OUTFILE "dbicapture.exe"
***************
*** 405,412 ****
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioDTL.ini"
! Pop ${L_BUTTON}
! FindWindow ${L_BUTTON} "#32770" "" $HWNDPARENT
! GetDlgItem ${L_BUTTON} ${L_BUTTON} 1202 ; [Field 3] is the default setting (Trace level 1)
! SendMessage $HWNDPARENT ${WM_NEXTDLGCTL} ${L_BUTTON} 1 ; Set focus to the default radiobutton
!insertmacro MUI_INSTALLOPTIONS_SHOW
--- 405,411 ----
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioDTL.ini"
! Pop ${L_BUTTON} ; Ignore HWND of the dialog
! !insertmacro MUI_INSTALLOPTIONS_READ ${L_BUTTON} "ioDTL.ini" "Field 3" "HWND" ; Field 3 selects 'Trace Level 1'
! SendMessage $HWNDPARENT ${WM_NEXTDLGCTL} ${L_BUTTON} 1 ; Set focus to default radiobutton
!insertmacro MUI_INSTALLOPTIONS_SHOW
|