Link to home
Start Free TrialLog in
Avatar of daSplash
daSplash

asked on

ID_FILE_NEW and Splitter

Hi,

I have a document with three different kinds of splitter windows
(from CControlBar). Each of them has a included Dialog. When I open my
application without any of these splitters, ID_FILE_NEW command is
passed correctly to my application. But when some of them are active
(have the focus) or when I start my program and in the beginning, some
splitters are created and there's no view yet, the ID_FILE_NEW command
from when I press strg+N is inactive or I don't find, where to place
the correct messagehandler. I've tried to catch it in the splitter and
in the dialog but it won't help. Can I say somewhere that ID_FILE_NEW
or any other command shall always invoke the OnFileNew() routine of my
application object?
ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My comment should provide the solution