1. Windows background colour

------=_NextPart_000_0006_01BD5BBE.B0C709F0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi!
Although the discussion about natural languages is very interesting, I'm =
coming with a trivial technical problem...
Does anybody know how to flood the background of a window with a fixed =
colour?.
(I mean under Windoze, obviously).

Thanks.
Jesus-progressing-slowly-but-advancing-pacely.

------=_NextPart_000_0006_01BD5BBE.B0C709F0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Although the discussion about =
natural languages=20
is very interesting, I'm coming with a trivial technical =
problem...</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Does anybody know how to flood the =
background of=20
a window with a fixed colour?.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>(I mean under Windoze, =
obviously).</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks.</FONT></DIV>
<DIV><FONT color=3D#000000=20
Y></HTML>

------=_NextPart_000_0006_01BD5BBE.B0C709F0--

new topic     » topic index » view message » categorize

2. Re: Windows background colour

I think there is something in the Win32lib reguarding setting windows
background color,  also,  you could do like I did, and put a static
background bmp in that fills the whole window.
Monty in Oregon

new topic     » goto parent     » topic index » view message » categorize

3. Re: Windows background colour

>put a static
>background bmp in that fills the whole window.

Thanks, Monty. Nice trick...

new topic     » goto parent     » topic index » view message » categorize

4. Re: Windows background colour

Monty:
I need a little more help.
I succeeded in painting a bitmap masking all the background of the window,
but...
=2E..when I write text, it goes always UNDER the bitmap...
(I see it flashing when I resize the window).
Don=B4t you have another trick for this?...
Thanks again.
Jesus.


>I think there is something in the Win32lib reguarding setting windows
>background color,  also,  you could do like I did, and put a static
>background bmp in that fills the whole window.
>Monty in Oregon

new topic     » goto parent     » topic index » view message » categorize

5. Re: Windows background colour

Sorry...I don't It was just an idea.  I think it will be fixed soon in the
library though...I think that all writing will soon be going to a bitmap.

Wish I could help.
Monty

>=2E..when I write text, it goes always UNDER the bitmap...
>(I see it flashing when I resize the window).
>Don=B4t you have another trick for this?...
>Thanks again.
>Jesus.

new topic     » goto parent     » topic index » view message » categorize

6. Re: Windows background colour

------ =_NextPart_000_01BD5E1B.2BA678A0
Content-Transfer-Encoding: quoted-printable

Monty wrote about Win32Lib:

> I think it will be fixed soon in the library though...

Yes, setting the background color for the window in Win32Lib is a high =
priority for this weekend.

> I think that all writing will soon be going to a bitmap.

Mostly correct. I'm going to pull the persistant graphics and text out, =
and add an onPaint event. You will still be able to use the wPuts and =
wPrintf, but text (and graphics) will be erased when the window is =
refreshed, unless you have written them to a static bitmap.

-- David Cuny

------ =_NextPart_000_01BD5E1B.2BA678A0

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu