12-10-2017, 09:33 PM
BrowseForFolder - before calling it, start new thread that waits for the dialog and changes its title. Example:
Macro Macro2614
SelectFileDialogWithTreeview - you can edit the function:
Add new parameter [$title]:
And change the str dd=...END DIALOG code:
Macro Macro2614
mac "sub.ChangeTitle" "" "TEST"
BrowseForFolder(_s)
#sub ChangeTitle
function str's
int w=wait(5 WA win("Browse for Folder" "#32770"))
s.setwintext(w)
SelectFileDialogWithTreeview - you can edit the function:
Add new parameter [$title]:
And change the str dd=...END DIALOG code:
if(empty(title)) title="Select File"
str st=title; st.escape(1)
str dd=
F
;BEGIN DIALOG
;1 "" 0x90C80AC8 0x0 0 0 224 280 "{st}"
;3 SysTreeView32 0x54030823 0x0 0 0 224 256 ""
;1 Button 0x54030001 0x4 116 260 48 14 "OK"
;2 Button 0x54030000 0x4 168 260 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040201 "*" "" "" ""