This implements as two functions; mmext.ResizeWindow(HWND, width, height) and mmext.MoveWindow(HWND, x, y). The implementation is a .dll which interfaces the correspondint win32 calls. Both a compiled version and source code is attached.
Usage
You can compile by executing the attached makefile (a GNU environment is expected) or use the dll supplied directly (not recommended for security reasons).
The mmext.dll should be placed in the micromacro/lib/mods directory and the userfunctions in the standard userfunctions directory.
The HWND argument is the standard value returned from getAttachedHwnd() or getHwnd().
ex to make small window and move it out of the way:
Code: Select all
mmext.ResizeWindow(getAttachedHwnd(), 300, 200)
mmext.MoveWindow(getAttachedHwnd(), 0, 0)
Best regards
DX