Page 2 of 2

Re: Open file-explorer on specific folder + set window posit

Posted: Tue Jan 24, 2017 4:51 pm
by skywalk
Kukulkan wrote:; Folder to open explorer in
; does not work with drive only (like "c:" or "f:")
Folder.s = "c:\"

~~~
GetWindowRect_(hWnd,r.RECT)
MoveWindow_(hWnd,550,50,r\right-r\left,r\bottom-r\top,1)
You can set Folder.s = "C:\" if you catch the return values for the api calls and use CAPS for 'C' or 'F'.

ri.i = MoveWindow_(hWnd,550,50,r\right-r\left,r\bottom-r\top,#SWP_SHOWWINDOW)