AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[module] Dlg 5.01
Goto page Previous  1, 2, 3 ... 9, 10, 11
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Mon Feb 22, 2010 5:02 pm    Post subject: Reply with quote

It doesn't require COM. Also, struct has only 3 params. Using it is as simple as DllCall.

See this
_________________
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Feb 22, 2010 5:19 pm    Post subject: Reply with quote

toralf wrote:
If you ever implement this SHBrowseForFolder I'll be happy to use it...

...what will SHBrowseForFolder() allow you to do that you can't do in FileSelectFolder?...if you can't write it & you can wait, I'll look into how hard it is to write...

majkinetor wrote:
Also, struct has only 3 params.

...SHBrowseForFolder's LPBROWSEINFO struct seems to have 8 params...

Code:
typedef struct _browseinfo {
    HWND hwndOwner;
    PCIDLIST_ABSOLUTE pidlRoot;
    LPTSTR pszDisplayName;
    LPCTSTR lpszTitle;
    UINT ulFlags;
    BFFCALLBACK lpfn;
    LPARAM lParam;
    int iImage;
} BROWSEINFO, *PBROWSEINFO, *LPBROWSEINFO;

...which function/struct were you talking about with 3 params?
Back to top
Guest






PostPosted: Mon Feb 22, 2010 5:28 pm    Post subject: Reply with quote

Anonymous wrote:
...I'll look into how hard it is to write...

...just found this...
...didn't look at it long, but is that complete/working?
Back to top
toralf



Joined: 31 Jan 2005
Posts: 3910
Location: Bremen, Germany

PostPosted: Tue Feb 23, 2010 5:35 pm    Post subject: Reply with quote

Thanks a lot,
I'll check it out.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3910
Location: Bremen, Germany

PostPosted: Tue Feb 23, 2010 5:51 pm    Post subject: Reply with quote

The difference is marginal. I'll have to test more to see if there is an advantage. One thing for sure is that it can show the files as well. But then I could use the FileSelectFile....
But thanks again for pointing at the forum page.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Mon Jun 28, 2010 2:27 pm    Post subject: Reply with quote

Updated for AHK_L on the Forms page (v5.1)
_________________
Back to top
View user's profile Send private message
poserpro



Joined: 21 Oct 2010
Posts: 438

PostPosted: Tue Jan 04, 2011 11:44 pm    Post subject: Reply with quote

This is a very helpful and resourceful post.


THANKS Very Happy Very Happy
-poserpro
_________________

~C'est La Vie~
I like AHK_L and Unicode Wink
Joined : Oct 11, 2010
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 9, 10, 11
Page 11 of 11

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group