Of course I did a WM_KEYUP too. I've even set the other bits in lParam according to what
the API reference tells me. Does not work.
Other things I've tried that didn't work:
Updates all desktop items immediately.
</EDIT>
aweX <-
the API reference tells me. Does not work.
Other things I've tried that didn't work:
[*]SystemParametersInfo() with SPI_SETDESKPATTERN (causing Windows read the Pattern= line of WIN.INI)
[*]SystemParametersInfo() with SPI_SETSCREENSAVEACTIVE with TRUE, and then called again with FALSE (I thought it will activate the screensaver for some milliseconds, but it doesn't ... Also, WM_SYSCOMMAND with SC_SCREENSAVE can only activate it)
[*]SendMessage() with WM_SYSCOMMAND and SC_MAXIMIZE
[*]SendMessage() with WM_SYSCOMMAND and SC_RESTORE (Note: use SC_MINIMIZE on the Desktop and you will crash in kernel32 :grin: )
[*]SendMessage() with WM_COMMAND and WM_REFRESH_DESKTOP (EQU 0A065h)
[*]www.google.com :grin: ... gave me a few links to experts-exchange.com but nothing helpful
Houston, we have ... :grin:
<EDIT>
Ah, finally I found it:
invoke SHChangeNotify, SHCNE_ASSOCCHANGED, SHCNF_FLUSH, NULL, NULL
Updates all desktop items immediately.
</EDIT>
aweX <-
Hmm, why is my name aweX aweX in the archive?
Also, I think this thread is a candidate for the FAQ section list of this board.
Also, I think this thread is a candidate for the FAQ section list of this board.
Hmm, why is my name aweX aweX in the archive?
I fixed your name on the snippet, it's aweX only once now :)
Thomas
Thomas