1. RE: Win32Lib bug (MleText with ES_READONLY greyed out)

>From: CoJaBo <guest at RapidEuphoria.com>
>Reply-To: EUforum at topica.com
>To: EUforum at topica.com
>Subject: Win32Lib bug (MleText with ES_READONLY greyed  out)
>Date: Wed, 25 Aug 2004 09:03:31 -0700
>
>posted by: CoJaBo <cojabo at suscom.net>
>
>If a MleText control has the ES_READONLY flag it is greyed
>out(as if it were disabled).
>

    That is the correct behaviour. You just didn't notice it because=20
Win32lib used to change the background to white all the time, even if the=
=20
edit control was read-only or disabled.

~[ WingZone ]~
http://wingzone.tripod.com/

=20
Technology.=20
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=10=
34&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines=20
  Start enjoying all the benefits of MSN=AE Premium right now and get the=
=20
first two months FREE*.

new topic     » topic index » view message » categorize

2. RE: Win32Lib bug (MleText with ES_READONLY greyed out)

Elliott S. de Andrade wrote:
> 
> >From: CoJaBo <guest at RapidEuphoria.com>
> >Reply-To: EUforum at topica.com
> >To: EUforum at topica.com
> >Subject: Win32Lib bug (MleText with ES_READONLY greyed  out)
> >Date: Wed, 25 Aug 2004 09:03:31 -0700
> >
> >posted by: CoJaBo <cojabo at suscom.net>
> >
> >If a MleText control has the ES_READONLY flag it is greyed
> >out(as if it were disabled).
> >
> 
>     That is the correct behaviour. You just didn't notice it because=20
http://64.78.109.136:48620/TEST_FEA32.JPGG
This is definantly NOT "correct behaviour"!
I liked it better the old way, even if the
background was acttually drawn ccorrectly.

> Win32lib used to change the background to white all the time, even if the=
> =20
> edit control was read-only or disabled.
> 
> ~[ WingZone ]~
> <a href="http://wingzone.tripod.com/">http://wingzone.tripod.com/</a>
> 
> =20
> Technology.=20
> <a
> href="http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=10=">http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=10=</a>
> 34&SU=<a
> href="http://hotmail.com/enca&HL=Market_MSNIS_Taglines=20">http://hotmail.com/enca&HL=Market_MSNIS_Taglines=20</a>
>   Start enjoying all the benefits of MSN=AE Premium right now and get the=
> =20
> first two months FREE*.
> 
>

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

3. RE: Win32Lib bug (MleText with ES_READONLY greyed out)

Oops... Link should be
http://64.78.109.136:48620/TEST_FEA32.JPG

CoJaBo wrote:
> 
> Elliott S. de Andrade wrote:
> > 
> > >From: CoJaBo <guest at RapidEuphoria.com>
> > >Reply-To: EUforum at topica.com
> > >To: EUforum at topica.com
> > >Subject: Win32Lib bug (MleText with ES_READONLY greyed  out)
> > >Date: Wed, 25 Aug 2004 09:03:31 -0700
> > >
> > >posted by: CoJaBo <cojabo at suscom.net>
> > >
> > >If a MleText control has the ES_READONLY flag it is greyed
> > >out(as if it were disabled).
> > >
> > 
> >     That is the correct behaviour. You just didn't notice it because=20
> <a
> href="http://64.78.109.136:48620/TEST_FEA32.JPGG">http://64.78.109.136:48620/TEST_FEA32.JPGG</a>
> This is definantly NOT "correct behaviour"!
> I liked it better the old way, even if the
> background was acttually drawn ccorrectly.
> 
> > Win32lib used to change the background to white all the time, even if the=
> > =20
> > edit control was read-only or disabled.
> > 
> > ~[ WingZone ]~
> > <a href="http://wingzone.tripod.com/">http://wingzone.tripod.com/</a>
> > 
> > =20
> > Technology.=20
> > <a
> > href="http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=10=">http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=10=</a>
> > 34&SU=<a
> > href="http://hotmail.com/enca&HL=Market_MSNIS_Taglines=20">http://hotmail.com/enca&HL=Market_MSNIS_Taglines=20</a>
> >   Start enjoying all the benefits of MSN=AE Premium right now and get the=
> > =20
> > first two months FREE*.
> > 
> >

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

4. RE: Win32Lib bug (MleText with ES_READONLY greyed out)

>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: http://wingzone.tripod.com/mle.htm=
=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.

~[ WingZone ]~
http://wingzone.tripod.com/

=20
get-togethers.=20
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=10=
34&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines=20
  Start enjoying all the benefits of MSN=AE Premium right now and get the=
=20
first two months FREE*.

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

5. RE: Win32Lib bug (MleText with ES_READONLY greyed out)

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 message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu