Found what I was talking about, I was wrong in that its not a windows API
function, but rather a delphi function located in forms.pas.  Which is why I
couldn't find it in the windows help. :)

function AllocateHWnd(Method: TWndMethod): HWND;
procedrue DeallocateHWnd(Wnd: HWND);

Hope, that its usefull,
Nahum.


> -----Original Message-----
> From: Nahum Wild [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 15:17 PM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Messages
> 
> 
> Its not that because the one I remember using returns a 
> handle, but you pass
> it a pointer to the function which will handle any messages 
> sent to the
> returned handle.  Allowing you to embed message handling 
> functionality into
> anything - Singleton Managers are always a really good target 
> for this,
> especially in a threaded environment.
> 
> 
> Nahum.
> 
> > -----Original Message-----
> > From: Nello Sestini [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 18, 2001 15:18 PM
> > To: Multiple recipients of list delphi
> > Subject: Re: [DUG]: Messages
> > 
> > 
> > > There is a windows API function that will create a window 
> > handle when
> > called
> > > that messages can be sent to, except that I can't 
> remember what its
> > > called!!!
> > 
> > CreateWindow?
> > 
> > <ducks>
> > 
> > -ns
> > 
> > 
> > --------------------------------------------------------------
> > -------------
> >     New Zealand Delphi Users group - Delphi List - 
> > [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED] 
> > with body of "unsubscribe delphi"
> > 
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List - 
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to