Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Mar : Pass thread handle to DefWindowProc?
| Subject: | Pass thread handle to DefWindowProc? |
| Posted by: | "Magnus Oskarsson" (magnus.oskarss..@enera.se) |
| Date: | 5 Mar 2007 05:08:43 |
I have a TThread descendant that has a message loop in its Execute
method. For messages I am not interested in, can I safely call
DefWindowProc passing the Handle property of the thread, or do I need
to explicitly create a Window handle with e.g. AllocateHWnd and pass
that handle instead?
Regards
Magnus Oskarsson
--