Um...hehehe, I ACTUALLY needed the Device Context.....sorted now, thanks

Jeremy

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Paul Lowman
> Sent: Friday, August 27, 1999 14:03
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Control Has No Window...agh
> 
> 
> Jeremy
> 
> I suspect you need to derive from a slightly lower down the tree class so
> you have a canvas to draw on ..
> 
> The help file for TWinControl says ...
> 
> Newly created components are seldom derived directly from 
> TWinControl. Base
> most new controls on TCustomControl, which provides a canvas and handles
> paint messages, or on any of several more specialized controls, such as
> TButtonControl, TCustomComboBox, TCustomEdit, or TCustomListBox.
> 
> Hope it helps :-)
> 
> Paul
> 
> 
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to