Lishi
Lishi

Reputation: 402

MFC MDI : how i can handle when the program switch 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 who own it but with no avail.

Those child are created from CMultiDocTemplate.

Thanks

Upvotes: 0

Views: 1443

Answers (1)

djeidot
djeidot

Reputation: 4640

Try WM_MDIACTIVATE instead.

Upvotes: 2

Related Questions