I have a desktop background on my wince device, I set it up in the startup
application by setting the registry HKEY_CURRENT_USER\ControlPanel\Desktop
Wallpaper: \windows\mybackground.bmp

The problem I have is that the wince default background comes up for a
couple of seconds before my background does. How can I prevent this? All I
want to see is my background.

Re: desktop background by Valter

Valter
Tue Aug 21 02:18:28 CDT 2007

=?Utf-8?B?TWFyaw==?= <Mark@discussions.microsoft.com> wrote in
news:7137680E-D95C-43A6-9CD9-DAF7BAAE1F77@microsoft.com:

> I have a desktop background on my wince device, I set it up in the
> startup application by setting the registry
> HKEY_CURRENT_USER\ControlPanel\Desktop Wallpaper:
> \windows\mybackground.bmp
>
> The problem I have is that the wince default background comes up
> for a couple of seconds before my background does. How can I
> prevent this? All I want to see is my background.

If you can change the platform, put that key in your project.reg file.
If you can't you may avoid the startup folder and put your application
inside the HKLM\Init subkey. Don't put any reference to GWES or sell
APIs inside it and you will be able to start it immediately after the
file system manager, writing your key before the shell (that handles
the desktop background) will read it.


--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)

Re: desktop background by Mark

Mark
Tue Aug 21 17:28:01 CDT 2007

Thank you - that fixed my problem.

"Valter Minute" wrote:

> =?Utf-8?B?TWFyaw==?= <Mark@discussions.microsoft.com> wrote in
> news:7137680E-D95C-43A6-9CD9-DAF7BAAE1F77@microsoft.com:
>
> > I have a desktop background on my wince device, I set it up in the
> > startup application by setting the registry
> > HKEY_CURRENT_USER\ControlPanel\Desktop Wallpaper:
> > \windows\mybackground.bmp
> >
> > The problem I have is that the wince default background comes up
> > for a couple of seconds before my background does. How can I
> > prevent this? All I want to see is my background.
>
> If you can change the platform, put that key in your project.reg file.
> If you can't you may avoid the startup folder and put your application
> inside the HKLM\Init subkey. Don't put any reference to GWES or sell
> APIs inside it and you will be able to start it immediately after the
> file system manager, writing your key before the shell (that handles
> the desktop background) will read it.
>
>
> --
> Valter Minute
> (the reply address of this message is invalid)
> (l'indirizzo di reply di questo messaggio non è valido)
>