Thanks, I'll try that.

Is there any penalty to having a handle? slows it down?

========================================================
 Luke Pascoe                          Delphi Programmer
             enSynergy Consulting LTD

 [EMAIL PROTECTED]  +64-9-3551593  fax +64-9-3551590
 Level 4,   10-12 Federal St,   Auckland,   New Zealand
 PO Box 32521,  Devonport,  Auckland 1330,  New Zealand

================== I.H.T.F.P. ==========================


> -----Original Message-----
> From: Nahum Wild [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 18 June 2001 3:46 p.m.
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Messages
> 
> 
> 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"
> 
---------------------------------------------------------------------------
    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