We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

Clear Details Window

From NSIS Wiki
Jump to navigationJump to search
Author: techkid (talk, contrib)


Description

This code allows you to clear the nsis details window. This code Finds the window the dialog and uses SendMessage to clear the window. Kichik helped with the code.

The Function

; Clear Details in NSIS
!define LVM_DELETEALLITEMS 0x1009
Function ClearDetails
  Push $0
  FindWindow $0 "#32770" "" $HWNDPARENT
  GetDlgItem $0 $0 1016
  SendMessage $0 ${LVM_DELETEALLITEMS} 0 0
  Pop $0
FunctionEnd