Hey experts,

I am new in working with Platform Builder and I am facing a lot if
difficulties.

I am using Platform Builder 4.1.

I don't know how to replace the default background image with onother bmp
file.



In which directory I have to put the bmp file with which I want to replace
the default wallpaper. I assume that it should be in the directory where the
current wallpaper is. But I don't know where this directory is (or may be I
am wrong). What exactly I have to write in the registry file? Is it
something like:

HKEY_LOCAL_MACHINE\ControlPanel\desktop

"Wallpaper" = "\$(_WINCEROOT)\Samples\deskpicture.bmp"

I will really appreciate if you help me.

Thank you in advance.

Petko

Re: How to replace the default background Image with onother bmp file by Derek

Derek
Thu Oct 16 16:45:22 CDT 2003

You can put the dmp file anywhere you want. The default is at the \windows
directory. For the registry, you can add the following at your platform.reg
[HKEY_LOCAL_MACHINE\ControlPanel\desktop]
"Wallpaper" = \\Windows\\your_image.bmp

And don't forget to include your image file in your image. 1) Copy image to
WCE420\PUBLIC\your_platform\WINCE420\platform_base\OAK\FILES
2) Added to your project.bib
your_image.bmp $(_FLATRELEASEDIR)\yourimage.bmp NK S

If you build the platform without error, you are good to go.

Derek
"Petko" <petko.stanev@voxtec.com> wrote in message
news:#J52nvClDHA.2676@TK2MSFTNGP11.phx.gbl...
> Hey experts,
>
> I am new in working with Platform Builder and I am facing a lot if
> difficulties.
>
> I am using Platform Builder 4.1.
>
> I don't know how to replace the default background image with onother bmp
> file.
>
> In which directory I have to put the bmp file with which I want to replace
> the default wallpaper. I assume that it should be in the directory where
the
> current wallpaper is. But I don't know where this directory is (or may be
I
> am wrong). What exactly I have to write in the registry file? Is it
> something like:
>
> HKEY_LOCAL_MACHINE\ControlPanel\desktop
>
> "Wallpaper" = "\$(_WINCEROOT)\Samples\deskpicture.bmp"
>
> I will really appreciate if you help me.
>
> Thank you in advance.
>
> Petko
>
>



Re: How to replace the default background Image with onother bmp file by Paul

Paul
Thu Oct 16 16:50:16 CDT 2003

You'd be better off to put the source file in the flat release directory.

It needs to be referenced in the BIB file (project.bib or platform.bib), so
that it gets put into the OS at all. The flat release directory is the
easiest place to get it from, but you could set the BIB entry such that it
came from somewhere else.

The registry has to change, but you need to remember that the path in the
registry is not the path to the file on your PC; it's the path to the file
on the Windows CE device (probably \Windows\mybmp.bmp).

Paul T.

"Petko" <petko.stanev@voxtec.com> wrote in message
news:%23J52nvClDHA.2676@TK2MSFTNGP11.phx.gbl...
> Hey experts,
>
> I am new in working with Platform Builder and I am facing a lot if
> difficulties.
>
> I am using Platform Builder 4.1.
>
> I don't know how to replace the default background image with onother bmp
> file.
>
>
>
> In which directory I have to put the bmp file with which I want to replace
> the default wallpaper. I assume that it should be in the directory where
the
> current wallpaper is. But I don't know where this directory is (or may be
I
> am wrong). What exactly I have to write in the registry file? Is it
> something like:
>
> HKEY_LOCAL_MACHINE\ControlPanel\desktop
>
> "Wallpaper" = "\$(_WINCEROOT)\Samples\deskpicture.bmp"
>
> I will really appreciate if you help me.
>
> Thank you in advance.
>
> Petko
>
>