On Tue, 13 Dec 2005 14:22:32 -0200
Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote:

> If I create a component for this and the component happens to be derived 
> from a windowed class I might want to use the WndProc of that class to 

I assume it's going to be derived from TComponent ?

> to use Lazarus. So I will need to create my own pure procedural WndProc 
> to handle this. It is quite ugly as this will be the only function 
> outside a object in the entire program.

Depends on what you call ugly :-). Interface to almost all libraries is
procedural, not object oriented. Plus it will be hidden in your component,
right?

Micha

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to