Old 14th June 2012, 12:20   #1
NOCaut
Senior Member
 
Join Date: Sep 2011
Posts: 106
Get Install Page Handle

I want input my two progress bar down main progress in install page.

Quote:
Page instfiles
Section
MessageBox MB_OK "message"
GetDlgItem $0 $HWNDPARENT 2
Pop $0
${NSD_CreateProgressBar} 0 0 100% 10% "Test"
Pop $hwnd
${NSD_CreateTimer} NSD_Timer.Callback 10

SectionEnd
after messageBox Installer crashed.
NOCaut is offline   Reply With Quote
Old 14th June 2012, 14:23   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,163
You cannot use (most) nsDialogs macros on a non-nsDialogs page. You must call CreateWindowEx with the system plugin (and look for some other timer plugin?)...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 14th June 2012, 15:04   #3
NOCaut
Senior Member
 
Join Date: Sep 2011
Posts: 106
ok thansk
NOCaut 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