Prev Previous Post   Next Post Next
Old 9th March 2019, 17:25   #1
Junior Member
Join Date: May 2015
Posts: 24
Prevent NSISVCLStyles from affecting child windows

Hey guys. Given the sample code below... when you press next, a fileselect dialog pops-up. Is it possible to prevent skinning of this dialog and child windows in general?

Plugin has a way to unskin controls (NSISVCLStyles::RemoveStyleControl), but I don't know if it is good enough for windows. If yes, can you please assist me with doing this? If not, are there any other options? Maybe I can unload the .dll at some right time or something... The reason for this is that more often than not the plugin breaks/changes child windows in undesirable ways.
PHP Code:
!include "MUI2.nsh"
Name "Modern UI Test"
OutFile "Basic.exe"
Function .onInit
/oname=$PLUGINSDIR\xxx.vsf "resources\xxx.vsf"
NSISVCLStyles::LoadVCLStyle $PLUGINSDIR\xxx.vsf

Page custom pgPageCreate pgPageLeave

Function pgPageCreate
::SelectFileDialog "bla-bla" "$0" "bla"
Function pgPageLeave

"Dummy Section" SecDummy
Endy-kun is offline   Reply With Quote
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