开发者

MFC MDI : how i can handle when the program switch from a child window to another?

开发者 https://www.devze.com 2023-01-26 14:09 出处:网络
I have a MDI application and i need to do an action when the user (or the program) change from a child window to another.

I have a MDI application and i need to do an action when the user (or the program) change from a child window to another.

I tried both with WM_ACTIVATE both on the View and the child frame wh开发者_如何学编程o own it but with no avail.

Those child are created from CMultiDocTemplate.

Thanks


Try WM_MDIACTIVATE instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消