I have created an event in a BackgroundWorker to send text notifications to a WinForm Panel. After the BachgroundWorker is finished I change the Panel and start the next BackgroundWorker. My Problem is that when the BGW is finished not all event messages are arrived in my Panel. Bevor removing the Panel I want to process all event messages. How can I observe or check if there are more event messages in queue?
thanks for your help
PeekMessage is your friend. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms644943(v=vs.85).aspx for description
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.