drawcli.h

来自「连接oracle」· C头文件 代码 · 共 58 行

H
58
字号
// drawcli.h : main header file for the DRAWCLI application
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1997 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols
#include <afxtempl.h>       // drawcli uses collection class templates

/////////////////////////////////////////////////////////////////////////////
// CDrawApp:
// See drawcli.cpp for the implementation of this class
//

//参数设置的结构
typedef struct
{
	BOOL		bOnlyLinkOilWater;		//1只油水井间连接 ,0表都可以连接
	COLORREF	clrOilLayerColor;		//油层颜色
	COLORREF	clrOWSameLayerColor;	//油水层颜色
	COLORREF	clrWaterLayerColor;		//水层层颜色
} SYSPARAMETER;


extern tagDsnInfo g_DsnInfo;
extern 	float g_fZoom;
extern SYSPARAMETER m_SysParameter;
class CDrawApp : public CWinApp
{
public:
	CDrawApp();
// Overrides
	virtual BOOL InitInstance();

// Implementation
protected:
	//{{AFX_MSG(CDrawApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void GetSysParameter();
};

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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?