Discussion:
Displai Icon for View in MFC MDI application
(too old to reply)
KK
2005-12-20 04:06:35 UTC
Permalink
Dear All
I'm having an MFC MDI application.
There are about 10 document classes and 25 view classes.
I would like to represent each view with a different icon in the
application.
Can somebody help me how to use separate icons for each view?

Thanks in advance.

Best Regards
Krishna
Mark F.
2005-12-23 18:21:39 UTC
Permalink
Post by KK
Dear All
I'm having an MFC MDI application.
There are about 10 document classes and 25 view classes.
Your post is a bit ambiguous and also seems a bit out of the norm. A "view" is
only a portion of the document and a view class connects with document and the
child window to display the current view. You can have one document class to
display, for example, html document (text/rtf) in both a CRichEditView and a
CHtmlView.

Any open file can be connected to the CDocument object (e.g., image, text). It
is possible to have a single CView class to display both types.
Post by KK
I would like to represent each view with a different icon in the
application.
Do you mean an icon on the statusbar? I can supply you with a demo for doing that.
Post by KK
Can somebody help me how to use separate icons for each view?
Thanks in advance.
Best Regards
Krishna
Loading...