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
LayerAttributeDlg.cpp
Package: MiniCAD_ALL.zip [view]
Upload User: netltd
Upload Date: 2013-02-12
Package Size: 7234k
Code Size: 1k
Category:
Graph Drawing
Development Platform:
Visual C++
- #include "stdafx.h"
- #include "LayerAttributeDlg.h"
- // CLayerAttributeDlg dialog
- CLayerAttributeDlg::CLayerAttributeDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CLayerAttributeDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CLayerAttributeDlg)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- void CLayerAttributeDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CLayerAttributeDlg)
- DDX_Control(pDX, IDC_LAYERNAME, m_LayerName);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CLayerAttributeDlg, CDialog)
- //{{AFX_MSG_MAP(CLayerAttributeDlg)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CLayerAttributeDlg message handlers
- CString CLayerAttributeDlg::Show(CString name)
- {
- layername = name;
- DoModal();
- return layername;
- }
- BOOL CLayerAttributeDlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
- m_LayerName.SetWindowText(layername);
- return TRUE;
- }
- void CLayerAttributeDlg::OnOK()
- {
- m_LayerName.GetWindowText(layername);
- CDialog::OnOK();
- }