Old 20th September 2012, 15:46   #1
scubanarc
Junior Member
 
Join Date: Aug 2009
Posts: 7
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 View Post
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 
$$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
scubanarc is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump