C++ 清空消息队列

在button等被禁用后,可能须要它在禁用期间不去响应不论什么消息。

能够使用以下的语句片段:

原文地址:https://www.cnblogs.com/bhlsheji/p/4214832.html