91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.23MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-11-07
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: MFC??shapefile??

資源簡(jiǎn)介

一個(gè)MFC讀取shapefile并解析的源碼,適合對(duì)shapefile文件解析的測(cè)試

資源截圖

代碼片段和文件信息

////////////////////////////////////////////////////////////////
//?CoolTabCtrl.cpp?:?implementation?file??????????????????????//
// ??//
//?Copyright?2001?WangJun ??//
//?All?Rights?Reserved. ??//
// ??//
//?Email:?wangjun98@sohu.com ??//
//?URL:???www.vckbase.com ??//
// ??//
//?1.0?????2001/9/30???First?release?version. ??//
// ??//
//?2004/2/8?添加對(duì)WM_NOTIFY消息的處理 ??//
//?2005/2/2?修正內(nèi)存泄漏 ??//
//????????????????????????????????????????????????????????????//
////////////////////////////////////////////////////////////////

#include?“stdafx.h“
#include?“CoolTabCtrl.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CCoolTabCtrl

IMPLEMENT_DYNCREATE(CCoolTabCtrl?CWnd)

#define ITEMBUTTON_HEIGHT 23

static?CPen?_penW(PS_SOLID1?RGB(255255255));
static?CPen?_penB(PS_SOLID1?RGB(000));
static?CPen?_pen3DFace(PS_SOLID1GetSysColor(COLOR_3DFACE));
static?CPen?_pen3DLight(PS_SOLID1GetSysColor(COLOR_3DLIGHT));
static?CPen?_pen3DShadow(PS_SOLID1GetSysColor(COLOR_3DSHADOW));
static?CPen?_pen3DDKShadow(PS_SOLID1GetSysColor(COLOR_3DDKSHADOW));


CCoolTabCtrl::CCoolTabCtrl()
{
m_nstyle?=?TCS_DOWN;
m_nActivePage?=?-1;
m_nBorder?=?1;
m_bEraseBkgnd?=?TRUE;
}

CCoolTabCtrl::~CCoolTabCtrl()
{
POSITION?pos;
CPageItem*?pItem;
for(pos=m_PageList.GetHeadPosition();pos!=NULL;)
{
pItem=(CPageItem*)m_PageList.GetNext(pos);
if(pItem)
{
if(pItem->m_nstyle?==?1?&&?pItem->m_pWnd)?//?動(dòng)態(tài)創(chuàng)建
{
pItem->m_pWnd->DestroyWindow();
delete?pItem->m_pWnd;
}
delete?pItem;
pItem=NULL;
}
}
m_PageList.RemoveAll();
}


BEGIN_MESSAGE_MAP(CCoolTabCtrl?CWnd)
//{{AFX_MSG_MAP(CCoolTabCtrl)
ON_WM_PAINT()
ON_WM_ERASEBKGND()
ON_WM_LBUTTONDOWN()
ON_WM_SIZING()
ON_WM_SIZE()
ON_WM_TIMER()
ON_WM_CREATE()
ON_WM_DESTROY()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
//?CCoolTabCtrl?message?handlers

BOOL?CCoolTabCtrl::Create(UINT?wstyle?const?CRect?&rect?CWnd?*pParentWnd?UINT?nID)
{
m_nstyle?=?wstyle?&?TCS_MASK;
if(m_nstyle?==?0)
m_nstyle?=?TCS_UP;
if?(CWnd::Create(AfxRegisterWndClass(CS_DBLCLKS?|?CS_HREDRAW?|?CS_VREDRAW?AfxGetApp()->LoadStandardCursor(IDC_ARROW)?(HBRUSH)GetStockobject(LTGRAY_BRUSH)?NULL)
NULL
wstyle&~TCS_MASK?|?WS_CLIPCHILDREN?|?WS_CLIPSIBLINGS
rect?
pParentWnd?
nID))
{

return?TRUE;
}
return?FALSE;
}

BOOL?CCoolTabCtrl::OnEraseBkgnd(CDC*?pDC)?
{
if(m_bEraseBkgnd)
{
CRect?rect;
GetWindowRect(&rect);
ScreenToClient(&rect);
CBrush?brush(GetSysColor(COLOR_3DFACE));
pDC->FillRect(rect&brush);
}
return?TRUE;
}

void?CCoolTabCtrl::OnPaint()?
{
CPain

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件??????13906??2005-02-02?22:49??Shapefilec++\CoolTabCtrl.cpp

?????文件???????3455??2005-02-02?22:46??Shapefilec++\CoolTabCtrl.h

?????文件??????63016??2009-12-15?21:22??Shapefilec++\Debug\CoolTabCtrl.obj

?????文件??????12031??2009-12-15?21:22??Shapefilec++\Debug\CoolTabCtrl.sbr

?????文件??????35362??2009-12-15?21:22??Shapefilec++\Debug\MainFrm.obj

?????文件??????10980??2009-12-15?21:22??Shapefilec++\Debug\MainFrm.sbr

?????文件???????4001??2009-12-15?21:22??Shapefilec++\Debug\Polygon.obj

?????文件???????2586??2009-12-15?21:22??Shapefilec++\Debug\Polygon.sbr

?????文件???????6100??2009-12-15?21:22??Shapefilec++\Debug\Polyline.obj

?????文件??????54396??2009-12-15?21:22??Shapefilec++\Debug\Polyline.sbr

?????文件??????33896??2009-12-15?21:22??Shapefilec++\Debug\scbarg.obj

?????文件???????4917??2009-12-15?21:22??Shapefilec++\Debug\scbarg.sbr

?????文件??????54523??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileData.obj

?????文件?????100233??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileData.sbr

?????文件??????67423??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileInfo.obj

?????文件?????116034??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileInfo.sbr

?????文件?????245835??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReader.exe

?????文件??????28693??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReader.obj

?????文件?????787456??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReader.pdb

?????文件??????30424??2009-11-14?09:11??Shapefilec++\Debug\ShapeFileReader.res

?????文件?????127140??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReader.sbr

?????文件??????86719??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReaderDoc.obj

?????文件?????129735??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReaderDoc.sbr

?????文件??????60593??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReaderView.obj

?????文件?????138721??2009-12-15?21:22??Shapefilec++\Debug\ShapeFileReaderView.sbr

?????文件??????19567??2009-12-15?21:22??Shapefilec++\Debug\Shapelayer.obj

?????文件?????107674??2009-12-15?21:22??Shapefilec++\Debug\Shapelayer.sbr

?????文件???????4152??2009-12-15?21:22??Shapefilec++\Debug\ShpParameter.obj

?????文件???????3096??2009-12-15?21:22??Shapefilec++\Debug\ShpParameter.sbr

?????文件??????85039??2009-12-15?21:22??Shapefilec++\Debug\sizecbar.obj

............此處省略73個(gè)文件信息

評(píng)論

共有 條評(píng)論