Hey guys,
I found a "fix" to my problem.Here it is:
$EM_SETBKGNDCOLOR = 1091;
# enable RichEdit control and set background color to white
$M->rchText->SendMessage( $EM_SETBKGNDCOLOR, 0, 0xFF );
$M->rchText->InvalidateRect(1);
$M->rchText->Enable();
# disable RichEdit control and set ba
elice
Aldo Calpini <[EMAIL PROTECTED]> on 11/09/2000 07:15:18 AM
Please respond to [EMAIL PROTECTED]
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:(bcc: Felice Vittoria/Aut/Schneider)
Subject: Re: [perl-win32-gui] Disabling RichEdit control
[EMAIL PROTECTED] wr
Hi Guys
I've just tried this on my NT4 workstation box and you are absolutely correct,
the RichEdit control does not become greyed out.
(Unfortunately I don't have a solution ... yet !)
PB
***
Important. This E-mai
Oops ...
The control is disabled, just not greyed out (I can't type more data in there.)
Cheers
PB
***
Important. This E-mail is intended for the above named person and may be
confidential and/or legally privileged
[EMAIL PROTECTED] wrote:
> However, I still ask why when disabling the textfield the
> background color changes and when disabling the RichEdit the
> background color does not change.
it does for me, I see them both grey when disabled. I think
it's just that your system (in particular, your versi
Please respond to [EMAIL PROTECTED]
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:(bcc: Felice Vittoria/Aut/Schneider)
Subject: Re: [perl-win32-gui] Disabling RichEdit control
[EMAIL PROTECTED] wrote:
> Hello all,
>
> I have a RichEdit control designed on my fo
[EMAIL PROTECTED] wrote:
> Hello all,
>
> I have a RichEdit control designed on my form. When I try
> to do something like $M->txtText->Disable(), this will not
> disable the RichEdit control.
> Please note ... $M =DialogBox, txtText = RichEdit ControlName.
> However, if I convert txtText from
Hello all,
I have a RichEdit control designed on my form. When I try to do something
like $M->txtText->Disable(), this will not disable the RichEdit control.
Please note ... $M =DialogBox, txtText = RichEdit ControlName. However, if I
convert txtText from RichEdit control to Textfield con
8 matches
Mail list logo