Re: inputbox

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 26 Jul 2000 21:40:16 +0200, =?iso-8859-2?B?qWtvZGE=?=
<tone.skoda at SIOL.NET> wrote:

>>    -- message loop
>>   while c_func( xGetMessage, { msg, NULL, 0, 0 } )  and not
>>        EventLoopExit[ele] do
>            if msg.message=WM_COMMAND then
>                ....
>            end if
>>        c_proc( xTranslateMessage, { msg } )
>>        c_proc( xDispatchMessage, { msg } )
>>    end while
>
>why can't we process messages directly withing this loop? then it would be
>similar to dos programming, where you handle user actions in one big loop.
>WndProc just complicates things up. why is this in windows that way?



  I think you are forgeting that more than one application can be

  running at the same time in windows and each application has

  a window's procedure so that windows can send the message to the

  proper application window.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu