Re: The basics of Windows' messages



adebaene@xxxxxxxxxxxxxxxx wrote:

William as already answered your questions about 2) in great details,
but I would like to add that most experienced developers consider 2) to
be a bad choice, and 1) to be the correct solution.

[...]

I have always regarded option 2) as a lazy/lousy programmer's attempt to simulate option 1). The reason I focused my question on option 2) is that I wish to understand the execution flow from the point amid the lengthy process, where /ProcessMessages/ is called, to the queue processing, and then back to the calling site, where the lengthy process is resumed. William's response has already taken me much closer in that direction, but I think I might still need another round.

Thank you and best regards,

--
Ney André de Mello Zunino
.



Relevant Pages

  • Re: Clearing objects in a VBProject
    ... Thanks for your perserverance - I am looking for the correct solution. ... I didn't look closely enough to your response to notice that you were using ... "Tom Ogilvy" wrote: ... >> process in TaskManager. ...
    (microsoft.public.excel.programming)
  • Re: memory leak (definition?)
    ... >> The correct solution is to understand the SW you are using and how to ... >> code than the code you are calling. ... to Gordon Burditt's response, is whether the exec family of functions ... such as the exec family are in fact relevant to the language and ...
    (comp.lang.c)
  • Re: The basics of Windows messages
    ... As mentioned in your response, if an application does not process ... and 1) to be the correct solution. ... add calls to ProcessMessages/DoEvents/PeekMessage loop inside your ...
    (microsoft.public.win32.programmer.kernel)