Click here to Skip to main content
11,639,305 members (67,438 online)
Click here to Skip to main content
Add your own
alternative version

CHM Reader for Pocket PC 2003

, 29 Feb 2004 CPOL 363.6K 757 88
Allows the reading of CHM files on a Pocket PC2003.
chmreaderexe.zip
CHMReader.exe
chmreadersource.zip
PocketPC
CHM Reader
CHMLib
AUTHORS
ChmLib.dsp
ChmLib.dsw
COPYING
enumdir_chmLib.dsp
enum_chmLib.dsp
extract_chmLib.dsp
INSTALL
Makefile
NEWS
README
test_chmLib.dsp
res
CHM Reader.ico
Cmdbar.bmp
icon1.ico
CHM Reader.vcl
CHM Reader.ico
CHM Reader.vcp
CHM Reader.vcw
CHM Reader.vcb
CHM Reader.vcc
CHM Reader.vco
chm_readerexe-pc2002.zip
ARMRel
CHM Reader.exe
#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
//


#define IDC_TITLE_BAR	(AFX_IDW_CONTROLBAR_LAST-2)


//---------------------------------------------------------------------------
//
//	CCeTitleBar window
//
//---------------------------------------------------------------------------


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

// Attributes
public:

// Operations
public:

	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
	//{{AFX_VIRTUAL(CCeTitleBar)
	//}}AFX_VIRTUAL

// Implementation
public:

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

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

	//{{AFX_MSG(CCeTitleBar)
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//---------------------------------------------------------------------------

//{{AFX_INSERT_LOCATION}}
// 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.

License

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

Share

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 have developed software using Visual C/C++, C#/.NET, MFC, ATL & ASP.NET, SQL Server, Crystal Reports, DevExpress .NET Components, WinForms, SQL Server client side reporting.

My favourite language is C# on .NET V3.5 and I am always trying to learn new stuff like LINQ.

You may also be interested in...

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