Click here to Skip to main content
15,895,142 members
Articles / Desktop Programming / MFC

Fully owner drawn tab control

Rate me:
Please Sign up or sign in to vote.
4.93/5 (16 votes)
31 Jan 2000CPOL 347.7K   9.9K   98  
A better looking tab control
#if !defined(AFX_LBTABDEMOPROPSHEET_H__D7B746B8_C6B1_11D3_BB51_CD4AD9600417__INCLUDED_)
#define AFX_LBTABDEMOPROPSHEET_H__D7B746B8_C6B1_11D3_BB51_CD4AD9600417__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LBTabDemoPropSheet.h : header file
//
#include "LBTabCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CLBTabDemoPropSheet

class CLBTabDemoPropSheet : public CPropertySheet
{
	DECLARE_DYNAMIC(CLBTabDemoPropSheet)

// Construction
public:
	CLBTabDemoPropSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
	CLBTabDemoPropSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLBTabDemoPropSheet)
	public:
	virtual BOOL OnInitDialog();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CLBTabDemoPropSheet();
	CLBTabCtrl m_TabCtrlEx;
	// Generated message map functions
protected:

	//{{AFX_MSG(CLBTabDemoPropSheet)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LBTABDEMOPROPSHEET_H__D7B746B8_C6B1_11D3_BB51_CD4AD9600417__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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions