Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » General » Downloads
 
Add your own
alternative version
Go to top

The alxBase classes for work with DBF files

, 5 Nov 2002
The alxBase classes for work with dbf files.
alxbasea2.zip
alxBASE
alxBASE.dsp
alxBASE.dsw
alxBaseDLL.dsp
DLL
INCLUDE
res
nodrop.cur
Lib
Samples
DBFView
DBFViewApp.clw
DBFViewApp.dep
DBFViewApp.dsp
DBFViewApp.dsw
Release
DBFView.exe
res
bitmap1.bmp
DBFViewApp.ico
DBFViewDoc.ico
Toolbar.bmp
SRC
alxbasea3.zip
alxBASE.dep
alxBASE.dsp
alxBASE.dsw
alxBASE.mak
alxBASE.suo
alxBaseDLL.dsp
l.rus
nodrop.cur
DBFViewApp.clw
DBFViewApp.dep
DBFViewApp.dsp
DBFViewApp.dsw
RCa00472
DBFView.exe
bitmap1.bmp
DBFViewApp.ico
DBFViewDoc.ico
Toolbar.bmp
#if !defined(ALX_SYNTAXEDITCTRL_H__INCLUDED_)
#define ALX_SYNTAXEDITCTRL_H__INCLUDED_

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

#include <afxcmn.h>			// MFC support for Windows Common Controls
#include "ALXParser.h"

#define TXT_CLR_DEFAULT		RGB(0,0,0)
#define TXT_CLR_FUNCTION	RGB(0,0,255)
#define TXT_CLR_STRING		RGB(128,0,128)
#define TXT_CLR_NUM			RGB(0,0,160)
#define TXT_CLR_DATE		RGB(128,0,0)
#define TXT_CLR_BOOL		RGB(128,0,255)
#define TXT_CLR_LOGIC_OPR	RGB(64,128,128)
#define TXT_CLR_ERROR		RGB(255,0,0)

/////////////////////////////////////////////////////////////////////////////
// Helper functions

BOOL alxIsLogicOprExpr(LPCSTR szExpr);

/////////////////////////////////////////////////////////////////////////////
// CALXSyntaxEditCtrl window

class ALX_EXT_CLASS CALXSyntaxEditCtrl : public CRichEditCtrl
{
// Construction
public:
	CALXSyntaxEditCtrl();

// Attributes
public:

	BOOL m_bInForcedChange;

	CHARFORMAT	m_cfDefault;

	int m_nPrevLine;

// list function info
	ALXPRS_DEF_FUNCTION* m_alxFunList;
	int m_alxFuncCount;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CALXSyntaxEditCtrl)
	public:
	//}}AFX_VIRTUAL

// Implementation
public:
	void Init();
	virtual ~CALXSyntaxEditCtrl();

	// Generated message map functions
protected:
	void SetFormatRange(int nStart, int nEnd, COLORREF clr);
	void Colorize(LPCTSTR lpszBuf, int iOffset = 0);
	//{{AFX_MSG(CALXSyntaxEditCtrl)
	afx_msg void OnChange();
	//}}AFX_MSG
	afx_msg void OnProtected(NMHDR*, LRESULT* pResult);

	DECLARE_MESSAGE_MAP()
};

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

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

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

Share

About the Author

Alexey
Web Developer
Russian Federation Russian Federation
Year of birth - 1974.
Eeducation - was ended by Kaliningrad State University in 1997.
Now I work as the engineer-programmer in Kaliningrad (RUSSIA).

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 6 Nov 2002
Article Copyright 2002 by Alexey
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid