|
|
|
|
|
|
|
|
|
|
|
|
SGT_FW
by Aku_Aku. 05/31/26 11:05
|
|
|
|
|
2 registered members (Quad, Student_64151),
5,249
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
[Windows Dialogue] Choose Working Path?
#394991
02/18/12 18:48
02/18/12 18:48
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
hi there.. soo.. uuuhm.. I figured out how to use File_open, Save-file, create_folder, rename_folder and search_folder dialogues from Windows.. But how can i OPEN and USE this one?:  I need this Window to popup when i need it, and return the choosen path as a string when i hit OK.. Does anyone have any idea on how to do that?
|
|
|
Re: [Windows Dialogue] Choose Working Path?
[Re: Espér]
#395412
02/23/12 12:05
02/23/12 12:05
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
Can you post your code? Normally the needed string will be returned from the function.
no science involved
|
|
|
Re: [Windows Dialogue] Choose Working Path?
[Re: fogman]
#395414
02/23/12 12:16
02/23/12 12:16
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
But how can i OPEN and USE this one?: I've no code.. i thought this part said that  i need the code to Open/Call that window and how to receive the path string from it 
|
|
|
Re: [Windows Dialogue] Choose Working Path?
[Re: Espér]
#395421
02/23/12 13:31
02/23/12 13:31
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
GetOpenFileName() is the function you want, read about the OPENFILENAME struct and the flags you can pass to it.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: [Windows Dialogue] Choose Working Path?
[Re: WretchedSid]
#395431
02/23/12 14:12
02/23/12 14:12
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
If you are looking for a dialog to specifically select FOLDERS, may you should take a look at the "SHBrowseForFolder" API...
I cant help much beyond this, as I have never used it...
Best of luck.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: [Windows Dialogue] Choose Working Path?
[Re: Rei_Ayanami]
#395450
02/23/12 17:30
02/23/12 17:30
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
@Esper; Thats why I told you to look at the flags?!
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
|