Page 1 of 1

openfilerequester on top of screen

Posted: Mon May 10, 2004 7:13 pm
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

Posted: Wed May 12, 2004 9:34 pm
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

Posted: Thu May 13, 2004 7:08 am
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