I have a question. How do i get the MdiChild window activated when pressing the corresponding item in the menu? Thanks in advance!
Hi
In the menu item handler, send a WM_MDIACTIVATE message to the client window.
You need to know the MDI child window handle. If not, loop through all child windows until you find the one you are looking for and send the WM_MDIACTIVATE message.
Read this documentation
https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-mdiactivate (https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-mdiactivate)
Biterider
Thanks Biterider.