Request File - default position
BlitzMax Forums/BlitzMax Programming/Request File - default position
| ||
Is there a way to change the position a RequestFile/RequestDir dialog will show up at? |
| ||
Not without messing with BRL.System. but the code is pretty simple, you could easily adapt it for your own needs. |
| ||
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) |
| ||
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 ;) |