How many messages does the queue for a standard window hold? What happens when the queue overflows?
The documentation for GetMessage
and relatives doesn't say anything about this, and PeekMessage
only gives you a yes/no for certain classes of messages, not a message count.
This page says that the queues are implemented using memory-mapped files, and that there is no message count limit, but that page is about WinCE. Does this apply to desktop Win32 as well?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…