Click to See Complete Forum and Search --> : Change Background color of a Specific window?


Joe-1
August 29th, 2001, 03:24 PM
Is there a way to change the background color of an app (such as MS Calculator), without changing the background color system-wide?

I want to change the color of a specified window, just as if I were to change the system-wide color for "3D Objects", but I want to override the default operating system colors for just a specific window handle.

berta
August 29th, 2001, 06:58 PM
I don't known if I have undestand...

myForm.backcolor=vbgreen
myform.backcolor=RGB(0,255,0)
myForm.backcolor=&h00ff00

but it's a right codes for your problem?

<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>

A Hitchins
August 31st, 2001, 03:26 AM
Im not sure if it of any use, but if you can get the HdC of and window you can use the Declare Function PaintDesktop Lib "user32" Alias "PaintDesktop" (ByVal hdc As Long) As Long call to paint the desktop wallpaper/colour onto the window. There may be a call specific to your needs, get the API viewer from allapi.com.