Code: Select all
Class Foo {
Something() {
if (This.Rect = "") {
VarSetCapacity(RECT, 16, 0)
DllCall("GetClientRect", "Ptr", hWnd, "Ptr", &RECT)
This.Rect := RECT
}
}
}
Code: Select all
Class Foo {
Something() {
if (This.Rect = "") {
VarSetCapacity(RECT, 16, 0)
DllCall("GetClientRect", "Ptr", hWnd, "Ptr", &RECT)
This.Rect := RECT
}
}
}
Code: Select all
Class Foo {
Something() {
if (this.Rect = "") {
this.SetCapacity("Rect", 16)
DllCall("GetClientRect", "Ptr", hWnd, "Ptr", this.GetAddress("Rect"))
}
}
}