I’m having a little difficulty in understanding how to correctly use the ApplicationCommandManager. I have a main Document window which inherits from MenuBarModel and ApplicationCommandTarget. I have an ApplicationCommandManager object that is a member of my main DocumentWindow class. When calling registerAllCommandsForTarget() I pass my main document window as the target. This all works fine and I can use keyboard shortcuts to call any of my menu commands. My main content component is a type of text editor and it has a toolbar component. I would like for example if the ‘new’ toolbar button would evoke the NewFile() member of my DocumentWindow class. It’s here that I get confused. How can I get my my main content component to send commands to my main window class? Every time I think about it I come up with what I think is the solution only to hit a snag along the way!
Rory.