1. statusbar
------=_NextPart_000_0010_01BFA6C8.7BA5D9C0
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
how can i draw text in status window each time it recieves WM_PAINT? i =
have wrapped C function DrawStatusText, and use it to draw text, but it =
deletes when status window is repainted.
=20
Even better way would be if text would repaint itself, once its been =
drawn,so i wouldnt have to call DrawStatusText each time it receves =
WM_PAINT messsage. how can i achieve that?
------=_NextPart_000_0010_01BFA6C8.7BA5D9C0
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>how can i draw text in status window =
each time it=20
recieves WM_PAINT? i have wrapped C function DrawStatusText, and use it =
to draw=20
text, but it deletes when status window is repainted.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Even better way would be if text would =
repaint=20
itself, once its been drawn,so i wouldnt have to call DrawStatusText =
each time=20
it receves WM_PAINT messsage. how can i achieve that?</FONT></DIV>
------=_NextPart_000_0010_01BFA6C8.7BA5D9C0--
2. Re: statusbar
"©koda" wrote:
> how can i draw text in status window each time it
> receives WM_PAINT? i have wrapped C function
> DrawStatusText, and use it to draw text, but it deletes
> when status window is repainted.
You can set the text in the status bar with:
setText( <control>, <text> )
It calls SB_SETTEXT to set the text.
-- David Cuny