消息筛选器对特定线程是唯一的。
消息筛选类,用于在消息流中根据消息的内容对其进行路由。
Filtering message class — for routing within a message flow based on the contents of a message.
但是,也可以将后台线程作为STA创建,然后为该线程注册消息筛选器以处理此情况。
However, you can also create the background thread as STA and then register a message filter for that thread to handle this case.
应用推荐