Brass Plugins: Mime
Supported Directives: Api - Set
Window Position
This directive manipulates the position of a window.
It can manipulate top level windows and child windows.
The format of the directive is:
[WindowPos(x,y)]
The X and Y parameters are the position in pixels you want to move
the window to. 0,0 is the top left of the screen. If
you need to move a window belonging to another application, you
must first change the target window using the SetTargetWnd() directive.
Example
Move the window to 100 pixels from the left of the screen, and
20 pixels from the top:
[WindowPos(100,10)]
Technical Notes
Be aware that no boundary checking is made for
this command. You can quite easily send a window to an inaccessible
location. For example, if your screen dimensions are 800*600 and
you send a window to 1000, 700, the window will be inaccessible.
|