|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Force Refresh of Associated IconsHi
I have created a way to change the Default Icon for a Filetype. They wont display the correct Icons until I reboot my WinXP Pro I have seen somewhere that you can Force the Icons to Refresh but cannot remember does anyone have the code or know how to achieve this many thanks Garry "k_zeon" <silvermaine2***@googlemail.com> wrote in message I believe you need to send a message. Too lazy to look it up, but I think news:eSwGfh$1JHA.1900@TK2MSFTNGP04.phx.gbl... > I have created a way to change the Default Icon for a Filetype. > > They wont display the correct Icons until I reboot my WinXP Pro > > I have seen somewhere that you can Force the Icons to Refresh but cannot > remember > > does anyone have the code or know how to achieve this it's similar to WM_SETTINGSCHANGE. thanks, just looked at the API viewer and cannot find this setting you
mentioned.maybe i need an updated API viewer any other thoughts thanks Show quoteHide quote "Jeff Johnson" <i.get@enough.spam> wrote in message news:uGx1on$1JHA.4412@TK2MSFTNGP06.phx.gbl... > "k_zeon" <silvermaine2***@googlemail.com> wrote in message > news:eSwGfh$1JHA.1900@TK2MSFTNGP04.phx.gbl... > >> I have created a way to change the Default Icon for a Filetype. >> >> They wont display the correct Icons until I reboot my WinXP Pro >> >> I have seen somewhere that you can Force the Icons to Refresh but cannot >> remember >> >> does anyone have the code or know how to achieve this > > I believe you need to send a message. Too lazy to look it up, but I think > it's similar to WM_SETTINGSCHANGE. > "k_zeon" <silvermaine2***@googlemail.com> wrote in message
http://www.activevb.de/rubriken/apiviewer/index-apiviewereng.html
news:OhS$bgF2JHA.140@TK2MSFTNGP03.phx.gbl... > thanks, just looked at the API viewer and cannot find this setting you > mentioned.maybe i need an updated API viewer Thanks
I have now found WM_SETTINGSCHANGE but still don't know how to use it. What declaration do i use to force the Icons to refresh so the new Associated Icons display. i hope you can help thanks Show quoteHide quote "Nobody" <nob***@nobody.com> wrote in message news:uGbbMMG2JHA.1380@TK2MSFTNGP05.phx.gbl... > "k_zeon" <silvermaine2***@googlemail.com> wrote in message > news:OhS$bgF2JHA.140@TK2MSFTNGP03.phx.gbl... >> thanks, just looked at the API viewer and cannot find this setting you >> mentioned.maybe i need an updated API viewer > > http://www.activevb.de/rubriken/apiviewer/index-apiviewereng.html > > On Mon, 18 May 2009 21:36:47 +0100, k_zeon wrote:
>I have created a way to change the Default Icon for a Filetype. Declare Sub SHChangeNotify Lib "Shell32.dll" (ByVal wEventId&, _> >They wont display the correct Icons until I reboot my WinXP Pro > >I have seen somewhere that you can Force the Icons to Refresh but cannot >remember ByVal uFlags&, ByVal dwItem1 As Any, ByVal dwItem2 As Any) Const SHCNE_ASSOCCHANGED& = &H8000000 '****** SHChangeNotify SHCNE_ASSOCCHANGED, 0&, 0&, 0& HTH, Wolfgang
Contemplating the Migration
Control Focus can the loading of a large number of records go as quick as in DOS Help using SendMessage() function FMLabs FMTKit functions Is using raw, uncooked Winsock so bad? BigInteger and BigDecimal [equivalents] for VB.NET? Font Scaling NewEnum in Interface Enumerate Processes and Terminate Selected |
|||||||||||||||||||||||