T
Trec Apps
Guest
Im trying to build a ribbon based application that handles different kinds of documents. Right now, I have two types of views and Documents in the project. Below is the list of headers for the project:
The "Animate BuilderDoc.h" and "Animate BuilderView.h" files were the defaults provided by the wizard. This view inherits from CScrollView and I anticipate using that template for various shapes. The BuilderSource[View/Doc].h" files are for a second type of template (actually, three other template types that use similar resources). The View inherits from CRichEditView.
Earlier, I mentioned the ribbon. here is an image of it so far:
The Document tools Context is what I want to display when a view of the BuilderSource is set to the Active view.
The Application uses tabs to sort through its views. I believe the rest of the Header files are defaults.
My question is not yet how to get the context category to appear.
Right now Id like to know how I could configure the application to know when to make it appear (when a BuilderSource view is selected) . I have a feeling that there is a special message available to use. WM_MDIACTIVATE looks promising, but I dont know if that is what I want to use or, if it is, how to use it to get the target view.
Continue reading...
The "Animate BuilderDoc.h" and "Animate BuilderView.h" files were the defaults provided by the wizard. This view inherits from CScrollView and I anticipate using that template for various shapes. The BuilderSource[View/Doc].h" files are for a second type of template (actually, three other template types that use similar resources). The View inherits from CRichEditView.
Earlier, I mentioned the ribbon. here is an image of it so far:
The Document tools Context is what I want to display when a view of the BuilderSource is set to the Active view.
The Application uses tabs to sort through its views. I believe the rest of the Header files are defaults.
My question is not yet how to get the context category to appear.
Right now Id like to know how I could configure the application to know when to make it appear (when a BuilderSource view is selected) . I have a feeling that there is a special message available to use. WM_MDIACTIVATE looks promising, but I dont know if that is what I want to use or, if it is, how to use it to get the target view.
Continue reading...