@JasonFriday13 Thanks a lot! Works as expected.
SpiderBanner plugin
Collapse
X
-
@develar
I've been reading your other thread, and just so you know, MUI_HEADERIMAGE_BITMAP is handled behind the scenes to extract the file at runtime so that it can be displayed. This doesn't happen for plugin calls so you have to use File /oname=$PLUGINSDIR\headerico.ico "${HEADER_ICO}" to include the icon and extract it to the plugins directory, then use SpiderBanner::Show /MODERN /ICON "$PLUGINSDIR\headerico.ico" to show it."Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
Comment
-
-
Use this to change the text (this may not work if using other dialogs with the same parent):
PHP Code:Name "Test"
OutFile "Test1.exe"
page instfiles
!include "winmessages.nsh"
RequestExecutionLevel user
Section
SpiderBanner::Show
FindWindow $0 "#32770" "" $hwndparent
FindWindow $0 "#32770" "" $hwndparent $0
GetDlgItem $0 $0 1000
SendMessage $0 ${WM_SETTEXT} 0 "STR:Text changed!"
Sleep 3000
SpiderBanner::Destroy
SectionEnd
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
Comment
-
-
Yep, that's why it's in the example I gave ."Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
Comment
-
Comment