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.