Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查组合框是否聚焦?以及如何杀死焦点?
您需要为方法 ON_CBN_SETFOCUS 实现覆盖:
当组合框获得焦点时调用。
杀死焦点我真的不知道一种方法,但您可以将焦点设置到其他控件或“SetFocus”方法中的对话框。