www.pudn.com > MCF-RichEditCtrl.rar > RichEditGSDlg.h
// RichEditGSDlg.h : Header-Datei
//
#if !defined(AFX_RICHEDITGSDLG_H__1BA1A1A9_DF95_4DE7_8C82_892AB0E84541__INCLUDED_)
#define AFX_RICHEDITGSDLG_H__1BA1A1A9_DF95_4DE7_8C82_892AB0E84541__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "RichEditCtrlGS.h"
/////////////////////////////////////////////////////////////////////////////
// CRichEditGSDlg Dialogfeld
class CRichEditGSDlg : public CDialog
{
private:
// Sizes for Dialog and RichEditControl
CSize m_size_DlgMinSize;
CSize m_size_DlgClientSize;
CSize m_size_EditMinSize;
CRect m_rect_EditMinRect;
// Control bar
CToolBar m_wndFormatBar;
// Konstruktion
public:
CRichEditGSDlg(CWnd* pParent = NULL); // Standard-Konstruktor
// Dialogfelddaten
//{{AFX_DATA(CRichEditGSDlg)
enum { IDD = IDD_RICHEDITGS_DIALOG };
CRichEditCtrlGS m_Ctrl_RichEdit;
CRichEditCtrlGS m_Ctrl_RichEditStatic;
//}}AFX_DATA
// Vom Klassenassistenten generierte Überladungen virtueller Funktionen
//{{AFX_VIRTUAL(CRichEditGSDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
//}}AFX_VIRTUAL
// Implementierung
protected:
HICON m_hIcon;
// Generierte Message-Map-Funktionen
//{{AFX_MSG(CRichEditGSDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
afx_msg void OnFileClose();
afx_msg void OnEditCopy();
afx_msg void OnEditCut();
afx_msg void OnEditPaste();
afx_msg void OnFormatBold();
afx_msg void OnFormatStrikeout();
afx_msg void OnFormatColour();
afx_msg void OnFormatFonts();
afx_msg void OnFormatItalic();
afx_msg void OnFormatUnderline();
afx_msg void OnFormatLink();
afx_msg void OnLinkRicheditStatic(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnFormatParagraphJustify();
afx_msg void OnFormatParagraphLeft();
afx_msg void OnFormatParagraphCenter();
afx_msg void OnFormatParagraphBullet();
afx_msg void OnFormatParagraphRight();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnUpdateFormatParagraphJustify(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatParagraphLeft(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatParagraphCenter(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatParagraphBullet(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatParagraphRight(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatBold(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatStrikeout(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatItalic(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatLink(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatUnderline(CCmdUI* pCmdUI);
//}}AFX_MSG
afx_msg LRESULT OnKickIdle(WPARAM, LPARAM);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
#endif // !defined(AFX_RICHEDITGSDLG_H__1BA1A1A9_DF95_4DE7_8C82_892AB0E84541__INCLUDED_)