Designing ActiveX Components with the MFC Document/View Model
By exploiting MFC's poorly understood document/view model, you can give your ActiveX component many great features with relatively little effort
http://www.microsoft.com/mind/0497/mfc.asp
axWebBrowser 后退\前进的问题 (.NET技术 C# )
WinForm 中用 axWebBrowser 控件,有前进\后退的按钮,默认是 Enable = false,怎么能在点击网页中的连接后,激活后退按钮,退到首次访问页面后,禁止后退按钮,同理前进按钮. 也就是说,当有可后退旱,后退按钮激活,当可前进时,前进按钮激活,否则禁止.
捕获commandstatechange事件
参考http://support.microsoft.com/kb/q836128
mdi方式下,建立多个doc/view模版的方法(VC/MFC 界面 )
mdi方式下,建立多个doc/view模版的方法?
msdn中的帮助里有个例子,mdidocvw只有实现,没有过程讲解,看不懂。
程序开始的时候有一个模版,但是第二个怎么加,手动建立3个类?
Creation of Multiple Dynamic Views. How to initilize and use additional different views in your MDI app by using Doc / view architecture. Example code of OpenGL window and a Dialog window.
http://www.codeproject.com/docview/MultiViewsMFC_MDI.asp
Create additional classes. Use ClassWizard, WizardBar, or ClassView to create additional document, view, and frame-window classes beyond those created automatically by AppWizard.
http://msdn.microsoft.com/library/en-us/vccore98/html/_core_sequence_of_operations_for_building_mfc_applications.asp