Connecting Tech Pros Worldwide Help | Site Map

adding background image to form(windows mobile)

Member
 
Join Date: Oct 2008
Posts: 42
#1: Oct 16 '08
hi all..,
i'm new in windows mobile application...
i would like to kno if there exist any way to add a background image to "form"(windows mobile).
thanks in advance..
RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,387
#2: Oct 16 '08

re: adding background image to form(windows mobile)


Have you searched MSDN?
Member
 
Join Date: Oct 2008
Posts: 42
#3: Oct 17 '08

re: adding background image to form(windows mobile)


Quote:

Originally Posted by RedSon

Have you searched MSDN?


yes i've searched msdn... there i found adding background image to buttons and all..
but what i need is to add a background image to "form" this i couldnt find..
RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,387
#4: Oct 17 '08

re: adding background image to form(windows mobile)


Quote:

Originally Posted by libish

yes i've searched msdn... there i found adding background image to buttons and all..
but what i need is to add a background image to "form" this i couldnt find..

Well a button is technically a window so maybe you can try using the same strategy. What did you find on it?
Member
 
Join Date: Feb 2008
Location: Bangalore
Posts: 49
#5: Oct 18 '08

re: adding background image to form(windows mobile)


Hi,

You can add a picture box to the form, add image and set the dock property to fill, you can also use the property SizeMode as StretchImage.


hope this will help


Regards
LTCCTL
Member
 
Join Date: Oct 2008
Posts: 42
#6: Oct 20 '08

re: adding background image to form(windows mobile)


hi all...
thanks for your reply.

i got a form, by default there is no background image. here i want to add an image as background, and top of this image i want some text box some buttons etc...

if i add an image in picture box, then i wont be able to add text boxes and buttons on top of it... that is why i'm in search of what i'm searching.
markmcgookin's Avatar
Moderator
 
Join Date: Dec 2006
Location: Northern Ireland / England
Posts: 546
#7: Oct 20 '08

re: adding background image to form(windows mobile)


Quote:

Originally Posted by libish

hi all...
thanks for your reply.

i got a form, by default there is no background image. here i want to add an image as background, and top of this image i want some text box some buttons etc...

if i add an image in picture box, then i wont be able to add text boxes and buttons on top of it... that is why i'm in search of what i'm searching.

Yes you can, but in theory the buttons etc would be sitting on the picture box wouldn't they?

Can you not use Visual Studio's "Bring to Front" option on your textboxes to move them in front of the picture box?
Member
 
Join Date: Oct 2008
Posts: 42
#8: Oct 20 '08

re: adding background image to form(windows mobile)


Quote:

Originally Posted by markmcgookin

Yes you can, but in theory the buttons etc would be sitting on the picture box wouldn't they?

Can you not use Visual Studio's "Bring to Front" option on your textboxes to move them in front of the picture box?




thank you soo much for that suggestion....
it works...
Reply