openfilerequester on top of screen

Just starting out? Need help? Post your questions and find answers here.
Palpatine
User
User
Posts: 22
Joined: Wed May 05, 2004 7:43 am
Location: Rotterdam
Contact:

openfilerequester on top of screen

Post by Palpatine »

Hi,

My program is running on a screen (using OpenScreen). When I call OpenFileRequester I have some problems:

1. The mouse pointer is not showing
2. After I have selected a file (using keyboard), the filerequester closes but the program screen is not activated so my program 'hangs'...

Cheers,
Ron
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

Hi Palpatine,

the Requesters are NOT designed to work on a GFX-Screen. Therefore you have to write your own...... OR use OpenWindowedScreen () instead. In this case you can use all of the Requesters... :!: OR send the Screen into the background (like you manually do with ALT + TAB) and then call your requester...
Maybe there are existing examples on [url]http:/www.purearea.net[/url]) ...

cu
Palpatine
User
User
Posts: 22
Joined: Wed May 05, 2004 7:43 am
Location: Rotterdam
Contact:

Post by Palpatine »

walker wrote:the Requesters are NOT designed to work on a GFX-Screen. Therefore you have to write your own...... OR use OpenWindowedScreen () instead. In this case you can use all of the Requesters... :!: OR send the Screen into the background (like you manually do with ALT + TAB) and then call your requester...
Maybe there are existing examples on [url]http:/www.purearea.net[/url]) ...

cu
Hi,

Thanks. Ok I converted the program to OpenWindowedScreen and it works a whole lot better now. However, I still have the problem that when I start external applications that open their own screen, that my program's window is closed. Can I also prevent that from happening by sending it to the background.
And how exactly do I do that, couldn't find an example for that one.

Cheers,
Ron
Post Reply