I am in a situation when if the user clicks on the upper pane (a splitter window with 2 panes) I will like to return the focus back to the initial window based on some conditions. Basically don't let the user to move to the other pane preferably posting a message. I tried the CFrameWnd::SetActiveView() but it doesn't work.
Thanks.
Thanks.