PedroWarlock

Refresh icons

3 posts in this topic

#1 ·  Posted (edited)

By google translator


Hi. sorry my English.

When I attach a file type to my program or icon of the associated file does not change. I would like to understand how the setup program associates files and updates all the files at the same time without restarting explorer.exe.
Edited by PedroWarlock

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

PedroWarlock,

With a simple google search  "assoc autoit site:www.autoitscript.com"
here is one hit

To refresh for changes without restarting explorer.exe you can use:

_WinAPI_PostMessage($HWND_BROADCAST, $WM_COMMAND, 41504, Null)

or

_WinAPI_ShellChangeNotify($SHCNE_ASSOCCHANGED, $SHCNF_FLUSH)

whichever works for you

Edited by Deye
1 person likes this

Share this post


Link to post
Share on other sites

#3 ·  Posted

@Deye

Thanks Deye!!!! Perfect!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now