PostMessage and unprocessed messages
- From: Stefano <posting@xxxxxxxxxx>
- Date: Tue, 4 Mar 2008 12:03:37 -0800 (PST)
Hi,
I'm developing and application that read a stream from serial port,
trasform byte in a structure and send it to the top-most dialog that
uses those data. When a frame is received I create (new) my structure
and send with a postmessage to the top-most dialog (it delete the
message too). What happen if I close the dialog before all messages
are elaborated ? Is there a way to wait until all messages are
processed ? How can I prevent leakage if some messages weren't
elaborated ?
Thanks in advance,
Stefano
.
- Follow-Ups:
- Re: PostMessage and unprocessed messages
- From: Joseph M . Newcomer
- Re: PostMessage and unprocessed messages
- From: Scott McPhillips [MVP]
- Re: PostMessage and unprocessed messages
- From: David Lowndes
- Re: PostMessage and unprocessed messages
- Prev by Date: Re: CAnimateCtrl
- Next by Date: Re: virtual CDialog base class - How to ??
- Previous by thread: Re: MDI: Open file in existing child frame
- Next by thread: Re: PostMessage and unprocessed messages
- Index(es):
Relevant Pages
|
Loading