Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Folder view with check boxes
#1
Is it possible to add check boxes to the right of any files that appear in this dialog. I want to be able to only select certain files then carry out an action on only those files once the action button is pushed(currently no button in dialog).
Function File_Select
Code:
Copy      Help
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
if(!ShowDialog("File_Select" &File_Select)) ret
;BEGIN DIALOG
;0 "" 0x90C90A40 0x100 0 0 221 154 "File Select"
;3 ActiveX 0x54000000 0x0 0 0 222 154 "SHDocVw.WebBrowser"
;END DIALOG
;DIALOG EDITOR: "" 0x2030208 "" "" ""

ret
;messages
sel message
,case WM_INITDIALOG
,str s.expandpath("$My Music$\")
,SHDocVw.WebBrowser we3
,we3._getcontrol(id(3 hDlg))
,we3.Navigate(s)
,int hlv=child("" "SysListView32" hDlg)
,SetWinStyle hlv LVS_NOCOLUMNHEADER 1
,case WM_SIZE
,RECT r; GetClientRect(hDlg &r)
,MoveWindow id(3 hDlg) 1 1 r.right r.bottom-1 1
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 4
,we3._getcontrol(id(3 hDlg))
,Shell32.ShellFolderView fv=we3.Document
,fv.CurrentViewMode=4
,case IDOK
,case IDCANCEL
ret 1
#2
Maybe possible, but difficult.
#3
hmm.... OK, Thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)