I have an AutoHotkey script that launches an application maximized like this:
`Run, myprogram.exe,, Max`
It then gets rid of the minimize and restore buttons. I can still click on the task bar and drag downwards to restore the window. Is there any good way to keep my window maximized in AHK? How about just locking the window's position?
CBTHook
(example) and return1
to prevent HCBT_MOVESIZE operation if the window handle matches. It might take you a while to get things done but this method seems the most reliable one. – wOxxOm