RequestFile$ window can dissapear behind main app.

BlitzMax Forums/BlitzMax Bug Reports/RequestFile$ window can dissapear behind main app.

RequestFile$ window can dissapear behind main app.

Was just going to write my own code for a file requester, then it occurred to me, I can't think of a single program that allows a file requester to dissapear behind the main app window.

In this case, as my app opens in a maximised window state, if the user accidentaly clicks anywhere on the main interface, the file requester jumps behind. As it's normal on a laptop to double tap the touch pad to open a file requester it means the first tap on my file graphic opens the thing, the second sends it behind, you don't even see the thing open. It looks for all the world like the apps crashed.

---------------------------------------------------------------
Update

Robbie mentioned this in another thread...
you can uncomment line 286 in mod/brl.mod/system.mod/system.win32.c. It's hardly ideal, though, since this will set the currently active window as the selector's parent - if something goes wrong and this happens to be a window that isn't part of your application, then that window will be set as the parent.

Maybe this function could be edited to allow you to pass a window handle to use as the parent?


Compiling the modules with this quick fix in place now, although I wouldn't want to release my app using this fix alone.

Is there another way?





Windows Vista SP1

T-Light