MDI 问题 在VC下可以用formview 实现像VB下的form吗?要是MDI 的,而且一个视图不要求对应一个文档;是VIEW,而不是对话框. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我有个程序是用view实现对话框的留下邮箱头文件class CTabbedView : public CScrollView{protected: CTabbedView(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CTabbedView)// Attributespublic:// Operationspublic: CPropertySheet m_sheet; CButton m_button; CFirstPage m_pageOne; CSecondPage m_pageTwo;// Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CTabbedView) protected: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual void OnInitialUpdate(); // first time after construct //}}AFX_VIRTUAL// Implementationprotected: virtual ~CTabbedView();#ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const;#endif // Generated message map functions //{{AFX_MSG(CTabbedView)// afx_msg void OnInitialUpdate(); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg BOOL OnEraseBkgnd(CDC *pDC); afx_msg void OnApply(); //}}AFX_MSG DECLARE_MESSAGE_MAP()}; 能否把找码给全些?谢谢。[email protected] 变量的引用? DLL中,98下CreateWindow失败, 如何往toolbar中添加一个button!能实现功能的另外给分!~~~~~ 大家快帮帮我,要命的问题! 我的代码提示不见了,怎么让他出现啊? 散分。。。郁闷ing,竟然还有这样扣性欲分的。 如何在一个MFC的工程中获得类工厂的指针(COleObjectFactory) 如何学好vc呀? 高分求解:在一个时间序列中,找到最近的记录 ocx控件如何打包???急 VC 6++中如何包含头文件? 我想在CMyView::OnCreate()中建一个CListCtrl填满客户区,该怎么做?
头文件
class CTabbedView : public CScrollView
{
protected:
CTabbedView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CTabbedView)// Attributes
public:// Operations
public:
CPropertySheet m_sheet;
CButton m_button;
CFirstPage m_pageOne;
CSecondPage m_pageTwo;// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTabbedView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
//}}AFX_VIRTUAL// Implementation
protected:
virtual ~CTabbedView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif // Generated message map functions
//{{AFX_MSG(CTabbedView)
// afx_msg void OnInitialUpdate();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnEraseBkgnd(CDC *pDC);
afx_msg void OnApply();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
[email protected]