Request File - default position

BlitzMax Forums/BlitzMax Programming/Request File - default position

plash(Posted 2008) [#1]
Is there a way to change the position a RequestFile/RequestDir
dialog will show up at?


grable(Posted 2008) [#2]
Not without messing with BRL.System. but the code is pretty simple, you could easily adapt it for your own needs.


plash(Posted 2008) [#3]
Thanks for the pointer (I should of looked around before asking :/), however the c code nor the blitzmax code (win32) has anything in place to set the default (x=0 y=0) position.

Neither of the functions (SHBrowseForFolder and GetOpenFileName) have parameters for xy positions, nor do the structures built up prehand for those functions (OPENFILENAME and BROWSEINFO, see http://msdn2.microsoft.com/en-us/library/ms646839(VS.85).aspx and http://msdn2.microsoft.com/en-us/library/bb773205(VS.85).aspx)


grable(Posted 2008) [#4]
Neither of the functions (SHBrowseForFolder and GetOpenFileName) have parameters for xy positions, nor do the structures built up prehand for those functions

But they do have a callback function that can receive messages, you can add your positioning there ;)