Prev Previous Post   Next Post Next
Old 12th July 2018, 10:47   #17
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 184
I don't call it in a section. Here is a part of my code:

PHP Code:
...

!
define MUI_PAGE_CUSTOMFUNCTION_SHOW InstFilesShow
!insertmacro MUI_PAGE_INSTFILES
...

; Function 
that is called when the installation dialog is shown
Function InstFilesShow
  
Set a function that will receive the messages to the parent window
  
${WndSubclass_Subclass$HWNDPARENT GetWinMessage $GetWinMessage $GetWinMessage
FunctionEnd
...

; Function 
that receives the messages to the parent window
Function GetWinMessage
  
${If} $= ${WM_QUERYENDSESSION}
  ...

  ${EndIf}
  ...
FunctionEnd 
TrifonovS 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