Old 10th October 2016, 23:00   #1
Join Date: Oct 2007
Posts: 64
Question NSIS 3 - ${RefreshShellIcons}

Hello world,

NSIS 3 comes with a new ${RefreshShellIcons} command. In the past I have frequently used
System::Call 'shell32.dll::SHChangeNotify(i 0x8000000, i 0, i 0, i 0)'
in order to trigger an icon refresh.

Are the two are fully equivalent?

And (if not) which command should be preferred?
Lenge is offline  
Old 11th October 2016, 00:06   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,367
Thumbs down

Please don't waste peoples time with bullshit questions like these.

A) You can just look in the .nsh and you will see that it is the exact same thing as the code you just posted!

B) This macro has been there since at least 2.46

IntOp $PostCount $PostCount + 1
Anders is offline  
Closed Thread
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