|
#if !defined(AFX_TABDEMODLG_H__454190A5_94C6_4D26_A983_E72A763D75CF__INCLUDED_)
#define AFX_TABDEMODLG_H__454190A5_94C6_4D26_A983_E72A763D75CF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// tabdemodlg.h : header file
//
#if (!defined __EXT_MFC_NO_TAB_CTRL)
/////////////////////////////////////////////////////////////////////////////
// CTabDemoDlg dialog
class CTabDemoDlg : public CExtResizableDialog
{
// Construction
public:
CTabDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTabDemoDlg)
enum { IDD = IDD_DIALOG_TAB_DEMO };
CExtBtnOnFlat m_CheckFocusOnHover;
CExtBtnOnFlat m_CheckFullRowWidth;
CExtBtnOnFlat m_CheckCenterText;
CExtBtnOnFlat m_CheckAutoHideScroll;
CExtBtnOnFlat m_CheckEnableHelp;
CExtBtnOnFlat m_CheckEnableClose;
CExtBtnOnFlat m_CheckShowHelp;
CExtBtnOnFlat m_CheckBoldSelection;
CExtBtnOnFlat m_CheckShowClose;
CExtBtnOnFlat m_CheckInvertFont;
CExtBtnOnFlat m_CheckEqualWidth;
CExtBtnOnFlat m_CheckShowBorders;
CExtButton m_BtnAdd10;
CExtButton m_BtnAdd1;
CExtButton m_BtnClear;
//}}AFX_DATA
CExtTabWnd
m_wndTabOuterTop,
m_wndTabOuterBottom,
m_wndTabOuterLeft,
m_wndTabOuterRight,
m_wndTabInnerTop,
m_wndTabInnerBottom,
m_wndTabInnerLeft,
m_wndTabInnerRight;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTabDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTabDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnButtonClearTabs();
afx_msg void OnButtonAddTab1();
afx_msg void OnButtonAddTab10();
afx_msg void OnCheckShowBorders();
afx_msg void OnCheckShowClose();
afx_msg void OnCheckEqualWidths();
afx_msg void OnCheckInvertVertFont();
afx_msg void OnCheckBoldSelection();
afx_msg void OnCheckShowHelp();
afx_msg void OnCheckEnableClose();
afx_msg void OnCheckEnableHelp();
afx_msg void OnCheckFullRowWidths();
afx_msg void OnCheckCenterText();
afx_msg void OnCheckAutohideScroll();
afx_msg void OnCheckFocusOnHover();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
struct demo_items_data_t
{
LPCTSTR m_sItemText;
bool m_bGroupStart:1;
};
static demo_items_data_t g_ItemsData[];
CImageList m_ImageList;
int m_nDemoImageListSize;
int m_nDemoImageListAddIndexInner;
int m_nDemoImageListAddIndexOuter;
void _DoAdd1( bool bUpdateTabWnd );
};
#endif // (!defined __EXT_MFC_NO_TAB_CTRL)
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TABDEMODLG_H__454190A5_94C6_4D26_A983_E72A763D75CF__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.