For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > March 2006 > Re: how can i get the resource used for the background images of









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: how can i get the resource used for the background images of
Brian Nantz

2006-03-07, 7:57 am

Wouldn't it be better to create your own MessageBox class so you can
customize the way it works than to change the icons the built in
messagebox uses?

Peter Foot [MVP] wrote:
> I'm afraid I don't know exactly how the messagebox is implemented, only that
> these registry settings exist for OEMs to customise the look and feel. I
> assume the gifs are loaded with the standard SHLoadImageFile API, but I
> don't know if these are preloaded somewhere first, I doubt if there is any
> documentation which covers the inner workings.
>
> Peter
>

riki

2006-03-21, 3:57 am

The PocketTV Team wrote:
> "Brian Nantz" <brian@nantz.org> wrote in message
> news:uV%23XdveQGHA.5116@TK2MSFTNGP10.phx.gbl...
>
>
>
> that's exactly what we are doing :)
>
> and the problem is not the icons (we have no problems with the icons), but
> rather with the background bitmap displayed by Smartphone MessageBox.
>
> i still have not found a way (i mean, an easy way that does not require
> writing thousand lines of code) to display an image in the background of a
> control (i.e. instead of the plain background color).
>
> is there a way to do that?
>
> i.e. by sending a message to the control?


I just draw the whole MessageBox manually, IE using BitBlt and DrawText.
cheep and nasty - but it works.

riki

----
Use the gift of time from unearned success, to earn it.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
Latest Betas have WM5 layout and speed dial support
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com