Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by k_ivan. 06/10/26 14:39
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, Student_64151), 5,249 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
[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 Offline OP
Expert
Espér  Offline 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?


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: [Windows Dialogue] Choose Working Path? [Re: Espér] #395399
02/23/12 09:51
02/23/12 09:51
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Does really no one know that?


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
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
F
fogman Offline
Expert
fogman  Offline
Expert
F

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 Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Quote:
But how can i OPEN and USE this one?:

I've no code.. i thought this part said that laugh

i need the code to Open/Call that window
and how to receive the path string from it

laugh


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
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 Offline
Expert
WretchedSid  Offline
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 Offline
Expert
EvilSOB  Offline
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: EvilSOB] #395448
02/23/12 17:28
02/23/12 17:28
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
@Sid: I don´t want to open a file.. i want to locate just a folder (see the image in the start post).

@evil: I´m not used to API too.. ._.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: [Windows Dialogue] Choose Working Path? [Re: Espér] #395449
02/23/12 17:30
02/23/12 17:30
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Then you got to get used to it ò.Ó ?

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 Offline
Expert
WretchedSid  Offline
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
Re: [Windows Dialogue] Choose Working Path? [Re: WretchedSid] #395459
02/23/12 18:28
02/23/12 18:28
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
i read through them in the MSDN several times..
ut i can´t find a Flag to hide the file-chose dialogue, and just show the folder-tree Map ._.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1