Click here to Skip to main content
12,946,164 members (52,596 online)
Click here to Skip to main content


87 bookmarked
Posted 8 Feb 2004

CHM Reader for Pocket PC 2003

, 29 Feb 2004 CPOL
Allows the reading of CHM files on a Pocket PC2003.
#if !defined(AFX_CETITLEBAR_H__5F022C0D_A0A4_4A81_AC60_B74C7D48B566__INCLUDED_)
#define AFX_CETITLEBAR_H__5F022C0D_A0A4_4A81_AC60_B74C7D48B566__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CeTitleBar.h : header file


//	CCeTitleBar window

class CCeTitleBar : public CControlBar
// Construction
	virtual ~CCeTitleBar();

// Attributes

// Operations

	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
	virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
	virtual CSize CalcDynamicLayout(int nLength, DWORD nMode);

	void SetTitle(LPCTSTR pszTitle, BOOL bRepaint = TRUE);
	void SetTitle(UINT nStrID, BOOL bRepaint = TRUE);

// Overrides
	// ClassWizard generated virtual function overrides

// Implementation

	BOOL Create(CWnd *pParentWnd, UINT nID = IDC_TITLE_BAR);
	BOOL CreateEx(CWnd *pParentWnd, UINT nID = IDC_TITLE_BAR);

	// Generated message map functions
	CString		m_strTitle;
	CFont		m_fntDefault;
	int			m_nHeight;

	afx_msg void OnPaint();


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

#endif // !defined(AFX_CETITLEBAR_H__5F022C0D_A0A4_4A81_AC60_B74C7D48B566__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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Peter Tewkesbury
Software Developer (Senior)
United Kingdom United Kingdom
Hi, I am a developer working in Cheshire, England. I started programming on a Vic-20 back in the 80's with only 5K of ram), and I have not looked back since. I currently develop using C#/.NET, SQL, HTML, CSS, JS & ASP.NET. In the past I have developed software using Visual C/C++, MFC, ATL & COM, Crystal Reports.

My favourite language is C# and I am always trying to learn new stuff like LINQ, and mobile development.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170518.1 | Last Updated 1 Mar 2004
Article Copyright 2004 by Peter Tewkesbury
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid