RichEdCtrlEx.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • common/
  • RichEdCtrlEx.h.
  • View
  • Commits
  • Open Download .zip Download (1 KB)
//
// Copyright 1997 Perforce Software.  All rights reserved.
//
// This file is part of Perforce - the FAST SCM System.
//
//

// RichEdCtrlEx.h : header file
//

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CRichEdCtrlEx window

class CRichEdCtrlEx : public CRichEditCtrl
{
// Construction
public:
	CRichEdCtrlEx();

// Attributes
protected:
    // character width, in twips (only valid for fixed pitch font)
    // this is used for setting tab stops
	long m_CharWidth;   
	PARAFORMAT	m_pf;

public:
    // tab settings will only be valid when used with a fixed pitch font
	int	m_TabStop;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRichEdCtrlEx)
	//}}AFX_VIRTUAL

// Implementation
public:
    void SetTabWidth(int width);
	void SetTabs();
	void SetFont(CFont* pFont, BOOL bRedraw = TRUE);
	virtual ~CRichEdCtrlEx();

    CString GetSelText();
protected:

	// Generated message map functions
protected:
	//{{AFX_MSG(CRichEdCtrlEx)
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/common/RichEdCtrlEx.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/common/RichEdCtrlEx.h
#1 8562 Matt Attaway These feet never stop running.

Initial commit of the P4Win source code.  To the best of our knowledge this
compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes
as we refine the build process. Please post any build issues to the forums.