| |
|
|
|
Description:
MoveWindow moving one Window and changes which Size.
Deklaration:
DEF @MoveWindow(6) !USER32, MoveWindow
Parameter:
1.Parameter: lever the Fensters. 2.Parameter: new horizontale position. 3.Parameter: new vorizontale position. 4.Parameter: new wide. 5.Parameter: new Höhe. 6.Parameter: Repaint Flag => -1 = Window becomes complete neugezeichnet -0 =.no Repaint.
Return Value:
1 with success, 0 with failure.
Examples:
CompileMarkSeparationDEF @MoveWindow(6) !"USER32", "MoveWindow"
Windowstyle 31
Windowtitle "Fenster bewegen"
Window 100,100-340,300
Declare Button&
Let Button&=@Createbutton(%HWND,"Fensterposition ändern",20,230,200,30)
While 0=0
Waitinput
IF @Getfocus(Button&)
@MoveWindow(%HWND,-100,-1,340,300,1)
Endif
Wend
|
|
|
| |
|
|