I have a CToolBar inside a CView dirived class. It works pretty well, you can click on the buttons and all and the corrent messages are sent. But there is a problem. If the view that the ToolBar is in is not in focus, the ToolBar is disabled. You have to click on the view that the ToolBar is in to make it re-enable itself.
Please help me on this, Thanks.
May 24th, 2002, 06:16 AM
Update commands are by default sent to the active view only. Try adding the following to CMainFrame to change this routing: