Hey MSG, thanks for the reply. This helps a lot. If you could help me understand the mechanics of this a little bit I'd appreciate it.
Quote:
Originally Posted by MSG
PHP Code:
nxs::getWindow /NOUNLOAD
Pop $1 ;(now contains the HWND of the nxs window)
System::Alloc 16
Pop $2
System::Call "user32::GetWindowRect(i r1, i r2)"
System::Call "*$2(i .r3, i .r4, i, i)"
System::Free $2
IntOp $4 $4 + 20
System::Call 'User32::SetWindowPos(i $1, i $1, i $3, i $4, i 0, i 0, i 5)'
|
I understand everything up to this line:
PHP Code:
System::Call "*$2(i .r3, i .r4, i, i)"
What does *$2 mean and what does that line accomplish?
Also, I get that the lpRECT structure contains the values I want, but I don't understand how to get those values out.
- jason