Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: how to set wallpaper on a form


Message #1 by "azian mohamad" <amohamad_my@h...> on Tue, 26 Feb 2002 04:19:19
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1BFBC.21D3A580
Content-Type: text/plain;
	charset="iso-8859-1"

This site has some examples of how to create transparent forms and objects.
Maybe one of these will help get you started.
 
http://www.planet-source-code.com/vb/
<http://www.planet-source-code.com/vb/> 
 
Search for: Transparent
 
Thanks
 
Crane
 
 

-----Original Message-----
From: James Willock [mailto:james.willock@e...]
Sent: Tuesday, February 26, 2002 10:25 AM
Subject: Re: how to set wallpaper on a form



you might want to check out the bitblt and stretchblt API 

-----Original Message----- 
From: Daniel Weigel [ mailto:danielweigel@y...
<mailto:danielweigel@y...> ] 
Sent: 26 February 2002 16:48 
To: professional vb 
Subject: [pro_vb] Re: how to set wallpaper on a form 


I do not think this is possible using standard controls but I did something 
similar before using labels (with backstyle set to transparent) as much as 
possible as well as Lines and Shapes. Then you have to mimic the 
functionality of other controls. 
By example: 
TextBox: show the Textbox only if it has the focus, otherwise hide it and 
show the text using a label. 
Check Box: show only the box itself and, again, show the text using a label.

Command Button: draw the button using a shape (or two shapes of 
different colors to enhance appearance) and then place a label that fill the

shape and center the caption. 
Maybe you can devise other pseudo-controls this way or using another 
transparent control. 



----- Original Message ----- 
From: "azian mohamad" <amohamad_my@h...> 
To: "professional vb" <pro_vb@p...> 
Sent: Tuesday, February 26, 2002 4:19 AM 
Subject: [pro_vb] how to set wallpaper on a form 


> Hi experts, 
> 
> Can any1 help me? I want to put a wallpaper on my form. Basically this 
> wallpaper has a picture of some company and product logos. On the form I 
> have 1 or 2 frames that has several controls (check box, text box, labels,

> command box etc) to display the data and as user selection. I want to 
> controls to be transparent, so the form will look nice with a wallpaper at

> the back and the fonts of the control is at the front (only showing the 
> fonts NOT the whole width and height of the controls). 
> Hope you can image what I meant. 
> 
> Hope someone can help me or experience something like this. 
> 
> Thanks in advance for your help. 
> //azian 
> --- 
> Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp>  or 




_________________________________________________________ 

Do You Yahoo!? 

Get your free @yahoo.com address at http://mail.yahoo.com
<http://mail.yahoo.com>  




--- 
Change your mail options at http://p2p.wrox.com/manager.asp
<http://p2p.wrox.com/manager.asp>  or 



  Return to Index