Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
WORKSPACEBAR.CPP
Package: SNMP_source.rar [view]
Upload User: lvjun8202
Upload Date: 2013-04-30
Package Size: 797k
Code Size: 1k
Category:
SNMP
Development Platform:
C/C++
- // WorkSpaceBar.cpp : implementation file
- //
- #include "stdafx.h"
- #include "oam.h"
- #include "WorkSpaceBar.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CWorkSpaceBar
- CWorkSpaceBar::CWorkSpaceBar()
- {
- }
- CWorkSpaceBar::~CWorkSpaceBar()
- {
- }
- BEGIN_MESSAGE_MAP(CWorkSpaceBar, COAMTabCtrlBar)
- //{{AFX_MSG_MAP(CWorkSpaceBar)
- ON_WM_CREATE()
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CWorkSpaceBar message handlers
- int CWorkSpaceBar::OnCreate(LPCREATESTRUCT lpCreateStruct)
- {
- if (COAMTabCtrlBar::OnCreate(lpCreateStruct) == -1)
- return -1;
- // TODO: Add your specialized creation code here
- m_TabImages.Create (IDB_IL_TAB, 16, 1, RGB(0,255,0));
- SetTabImageList(&m_TabImages);
- CCreateContext context ;
- context.m_pCurrentDoc = (CDocument *)CGlobalVariable::m_pMainDoc;
- context.m_pNewViewClass = RUNTIME_CLASS(CSnmp_cwdmView);
- AddView(_T("MIB树"), RUNTIME_CLASS(CSnmp_cwdmView),&context);
- SetActiveView(0);
- return 0;
- }