Re: inputbox
On Thu, 27 Jul 2000 12:20:39 +0200, =?iso-8859-2?B?qWtvZGE=?=
<tone.skoda at SIOL.NET> wrote:
>>are you saying that messages for all windows an application has go thru
that
>>loop? i thought there were messages just for main application window.
The message loop is a part of each window's application.
The WINDOW PROCEDURE function is a CALLBACK function.
When any application or thread is running and it needs to be notified
by the windows operating system, that some action has taken place within
that ( application ) window. Whenever the operating system see that
a particular window needs something to be done it places a message in
the message Que that the operating system has reserved for that
particular application.
The OS then calls your CALLBACK WINDOW PROCEDURE FUNCTION.
in your application you are responsible to handle that message or
you can send the message to a DEFAULT OS WINDOW PROCEDURE. Get message
will get the message that is in your application's message Que.
Every Application that is running on your computer has a message Que
including the OS. So there is no way that I know of getting a message
from the OS without callback function and message loop.
Without a callback procedure function there would be no way to know
which message was yours and how current it is.
|
Not Categorized, Please Help
|
|