Old 9th October 2012, 16:40   #1
Marshallx7
Junior Member
 
Join Date: Oct 2012
Posts: 36
Trouble with System plugin

I'm trying to get information about the styles used by the installer window. Executing the following in a page show event:
code:

!define GWL_STYLE -16
System::Call "user32:GetWindowLong(i, i) i ($HWNDPARENT, ${GWL_STYLE}) .s"
Pop $R0
MessageBox MB_OK `"$R0"`



The message box always shows ""

What am I doing wrong?

EDIT:
Apologies, have been looking at this for hours, finally gave up and posted, then noticed that there is only one colon in the method call. D'oh!
code:

!define GWL_STYLE -16
System::Call "user32::GetWindowLong(i, i) i ($HWNDPARENT, ${GWL_STYLE}) .s"
Pop $R0
MessageBox MB_OK `"$R0"`


^^this works fine.
Marshallx7 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