try FrmHideObject or CtlHideControl. these hide the control and then mark
it unusable, which is probably what you're trying to do manually (but in the
opposite order).
----- Original Message -----
From: "Sergio Carvalho" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 19, 1999 9:15 AM
Subject: CtlEraseControl strange behaviour
> Hi,
>
> The CtlEraseControl routine exhibits a behviour I find strange. It only
> erases usable controls. If the control is not usable, the routine does
> nothing. Is this a bug, or the desired behaviour?
>
> I found it strange. I want to erase the Control exactly because it is no
> longer usable...
>
> --
> Sergio Carvalho
> ---------------
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> If at first you don't succeed, skydiving is not for you
>
>
>