[DUG]: Messages

2001-06-17 Thread Luke Pascoe
Hello again. How do you send/post a message to a component that doesn't have a handle (Like a TGraphicControl)? BTW, The component will be sending the message to itself, but it needs to go via the message queue so DispatchMessage is no good.

Re:[DUG]: Messages

2001-06-17 Thread Corey Murtagh
Luke Pascoe [EMAIL PROTECTED] wrote on 18/06/2001 12:30:59: Hello again. How do you send/post a message to a component that doesn't have a handle (Like a TGraphicControl)? BTW, The component will be sending the message to itself, but it needs to go via the message queue so DispatchMessage is

RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild
. -Original Message- From: Luke Pascoe [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 12:31 PM To: Multiple recipients of list delphi Subject: [DUG]: Messages Hello again. How do you send/post a message to a component that doesn't have a handle (Like a TGraphicControl

Re: [DUG]: Messages

2001-06-17 Thread Nello Sestini
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

RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild
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

RE: [DUG]: Messages

2001-06-17 Thread Max Nilson
Luke Pascoe asked: How do you send/post a message to a component that doesn't have a handle (Like a TGraphicControl)? BTW, The component will be sending the message to itself, but it needs to go via the message queue so DispatchMessage is no good. The way that our code does this at profax

RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild
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

RE: [DUG]: Messages

2001-06-17 Thread Luke Pascoe
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

RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild
. 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

[DUG]: messages.

2000-09-10 Thread Matthew Comb
Hi people, this is a theoretical question. Are there default situations where an application will reject a message to close, e.g. if it was too busy doing other things etc? Can messages just get lost if the application is too busy? or will they always get queued? Matt.

Re: [DUG]: messages.

2000-09-10 Thread Leigh Wanstead
OnCloseQuery for. You may reject close form by simply set CanClose to False. Best Regards Leigh Wanstead - Original Message - From: "Matthew Comb" [EMAIL PROTECTED] To: "Multiple recipients of list delphi" [EMAIL PROTECTED] Sent: Monday, September 11, 2000 9:49 AM Subject: [D

Re: [DUG]: messages.

2000-09-10 Thread Matthew Comb
MAIL PROTECTED] Sent: Monday, September 11, 2000 10:22 AM Subject: Re: [DUG]: messages. Dear Matthew, Are there default situations where an application will reject a message to close, e.g. if it was too busy doing other things etc? type TCloseQueryEvent = procedure(Sender: TObject; v