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.
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
.
-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
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
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
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
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
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
.
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
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.
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
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
12 matches
Mail list logo