Anyone able to assist with QB64 code (or API or something) to allow the resizing and repositioning of an app (e.g. NotePad)?
Ideally, say NotePad is launched by
SHELL _dontwait "NotePad"
which despite previously having been sized/positioned often appears in a different position and to a lesser extent, a different size.
Assuming I can program calculate how far to move (to the desired location) - my problem is to in a program reposition the app (also maybe re re-size it).
So far I cannot seem to establish the handle via the SHELL _dontwait command - in any case when I can determine the handle (by a few methods, e.g. via PID, TaskManager,etc) and try to "plug-in" the handle into various API's (eg MoveWindow) - NOTHING seems to happen (no resizing/relocating).
Using Windows 10x64 Pro 21H1 (Nov updated)