|
It seems that the SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0) is not taken in account.
Try to set some dummy BaseHue in registry at the end of your function :
HKEY LOCAL MACHINE\ Software\Microsoft\Color\BaseHue
I have experimented this with my program ThemeGenCE when PDA is connected with ActiveSync. Modifiing Basehue forces Windows Mobile to refresh screen.
You can have a try with ThemeGenCE for direct interaction with PDA screen, only by modifiing BaseHue (fourth tab of main page -WM5-, WM5 button, interact with PDA checked and moving BaseHue on color scale)
|