> > I do not agree. Those operations translate to sending a
> > message to the Windows control. There is no call to the message pump.
>
> If you override WndProc of the form, and you place a breakpoint inside
your
> custom WndProc. Then you can see that it is called imidiately when you
> update a caption of a label. I thought that WndProc only was called from
the
> messagepump and therefor the ProcessMessages was called somewhere
internally
> to make this happen.

I think not.
The caption is set by use of SendMessage not PostMessage. With SendMessage,
then window procedure is called directly, no message is put into the message
queue and the message pump is not called.

Many people are not aware of that difference between SendMessage and
PostMessage.

--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to