Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Invisible file_dialog #303885
01/03/10 15:46
01/03/10 15:46
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
Hi!

I've found a very useful function based on the Manual, the file_dialog.

It works well in windowed mode, but if i switch to fullscreen the dialog window is invisible.
I suspect the reason is that the window appears out of my application window, as i can see every time when i open that in windowed mode.
Maybe i am wrong, but anyway, how should i use the function to achieve that works visible in fullscreen?

Edit: I checked with Task Manager, the dialog window appears below the fullscreen application.

Last edited by Aku_Aku; 01/03/10 16:19.
Re: Invisible file_dialog [Re: Aku_Aku] #303890
01/03/10 17:28
01/03/10 17:28
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
switch to windowed mode temporarily?


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Invisible file_dialog [Re: Michael_Schwarz] #303898
01/03/10 17:54
01/03/10 17:54
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
I've made this program in that way to be suitable in working in both windowed and fullscreen mode, as the user wants. I don't wish to force the user to use only one mode.
The mode can be immediatly switched with a keypress.

Edit: i checked the window with alt+ctrl+del that pops up the TaskManager. My application wasn't responsible after it tried to open the file_dialog window.

Last edited by Aku_Aku; 01/03/10 17:58.
Re: Invisible file_dialog [Re: Aku_Aku] #303899
01/03/10 17:57
01/03/10 17:57
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
TEMPORARILY

Im sure it wont upset anyone if the application switches to windowed mode for the time you show the file dialog.

Last edited by Michael_Schwarz; 01/03/10 17:57.

"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Invisible file_dialog [Re: Michael_Schwarz] #303900
01/03/10 18:03
01/03/10 18:03
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
That is right, i accept. But that is also right, this behavior on the part of an application isn't good, or real solution. That decreases the amusement of the game.

Re: Invisible file_dialog [Re: Aku_Aku] #303901
01/03/10 18:06
01/03/10 18:06
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
well, alternatively you would have to call the file select dialog manually (not with the engine function) and set the TopMost / AlwaysOnTop flag.

And if you have to select a file, I think that disrupts the gaming process itself.

I really don't see why you are so appalled at the idea.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Invisible file_dialog [Re: Michael_Schwarz] #303903
01/03/10 18:17
01/03/10 18:17
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
What do you mean under
Quote:
have to call the file select dialog manually (not with the engine function) and set the TopMost / AlwaysOnTop flag.

I can't see other function in the manual like this. Those flags also aren't in the manual.

That is ok, i know selecting a file will disrupt the flow of the game. So i am not appaled, it just makes me little bit sad.

Re: Invisible file_dialog [Re: Aku_Aku] #303905
01/03/10 18:30
01/03/10 18:30
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
I'm not talking about functions in the manual, I'm talking about the Windows API. But as you don't know what it means, it's better you don't try. You might do more harm than good.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Invisible file_dialog [Re: Michael_Schwarz] #303907
01/03/10 19:07
01/03/10 19:07
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
Now i understand what do you talk about. You have right i don't want to harm myself or the community with using WinAPI.

Re: Invisible file_dialog [Re: Aku_Aku] #303954
01/04/10 01:14
01/04/10 01:14
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Page 1 of 3 1 2 3

Gamestudio download | chip programmers | 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