Hi,
I want to detect a USB flash drive once the user connect it.
It should look like this:
Thanks!
I want to detect a USB flash drive once the user connect it.
It should look like this:
I hope you have some ideas,code:
; Disable next button while USB flash drive not identified
GetDlgItem $0 $HWNDPARENT 1 ; next=1, cancel=2, back=3
EnableWindow $0 0
loop:
${If}
# usb is detected
${Else}
Goto loop
${EndIf}
; Enable next button
GetDlgItem $0 $HWNDPARENT 1
EnableWindow $0 1
Thanks!
Comment