RE: Win32Lib bug (MleText with ES_READONLY greyed out)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Elliott S. de Andrade wrote:
> 
> >From: CoJaBo <guest at RapidEuphoria.com>
> >Reply-To: EUforum at topica.com
> >To: EUforum at topica.com
> >Subject: RE: Win32Lib bug (MleText with ES_READONLY greyed out)
> >Date: Wed, 25 Aug 2004 16:59:21 -0700
> >
> > > This is definantly NOT "correct behaviour"!
> > > I liked it better the old way, even if the
> > > background was acttually drawn ccorrectly.
> >
> 
>    The correct behaviour is like this: <a
>    href="http://wingzone.tripod.com/mle.htm=">http://wingzone.tripod.com/mle.htm=</a>
> =20
> That's a Dialog box with, as shown, a Read-only Multiline edit box. However=
> ,=20
> when I run a sample in Windows XP, the Mle ends up completely white (when=
> =20
> readonly, of course.) Judging from both of our results, it seems there migh=
> t=20
> be a bug in Win32lib, caused by one of the changes to get Manifests working=
> .=20
> If you want Mle's to be white all the time, though, you can use=20
> setWindowBackColor() to change the background. This seems to work properly=
> =20
> for me, at least.

The real fix is to change ...

    classBGColor[ MleText ] = w32NoColor


to ...

    classBGColor[ MleText ] = COLOR_WINDOW

 
-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu