forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Rebuild Icons

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Apr 25, 2011 6:15 pm    Post subject: Rebuild Icons Reply with quote

Is there a way I can rebuild the icons or icon cache without killing explorer.exe? Like the way TweakUI does? I am making an app that creates a new file type and I have created and icon for it. When I add the default icon registry key, I want to rebuild right away so it shows up.

Thanks!

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 767
Location: Eastman, GA

PostPosted: Tue Apr 26, 2011 8:02 am    Post subject: Reply with quote

http://msdn.microsoft.com/en-us/library/ms725497(v=vs.85).aspx

WM_SETTINGCHANGE = &H1A
Back to top
View user's profile Send private message AIM Address
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Apr 26, 2011 2:18 pm    Post subject: Reply with quote

Cool thanks....now, if you have a few, can you convert it onto VDS? LOL I don't know how to do that yet.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 767
Location: Eastman, GA

PostPosted: Tue Apr 26, 2011 3:39 pm    Post subject: Reply with quote

Well, we were barking up the wrong tree.

I think this is closer, but I've done something wrong. Let me know if it works, if it doesn't we need some more support.

Code:

%P = @sendmsg(@strdel(#progman),1,1),INT: $111,INT: 28931,0)

LOADLIB USER32
%p = @lib(user32,SendMessageA,@strdel(#progman),1,1),INT: $111,INT: 28931,INT: 0)
      FREELIB USER32


Try this also.

Code:

%p = @sendmsg(@winexists(#progman),$111,28931,0)

LOADLIB USER32
%p = @lib(user32,SendMessageA,@winexists(#progman),$111,28931,0)
FREELIB USER32



I think we are almost there.
Back to top
View user's profile Send private message AIM Address
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Apr 26, 2011 3:50 pm    Post subject: Reply with quote

Ok. I'm not going to get to this for a little, but I'll let you know.

Thanks!

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 767
Location: Eastman, GA

PostPosted: Sun May 01, 2011 9:48 pm    Post subject: Reply with quote

Got it.

No credit to me though, other than my rad search skills.

Code:

 loadlib shell32.dll
  %X = @lib(shell32, SHChangeNotify, INT:, $8000000, 0, 0, 0)
  freelib shell32.dll


http://www.vdsworld.com/forum/viewtopic.php?t=3234
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group