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
NEWIMAGESIZE.CPP
Package: vc图像处理比较全面的程序.rar [view]
Upload User: alisonmail
Upload Date: 2013-02-28
Package Size: 500k
Code Size: 1k
Category:
Picture Viewer
Development Platform:
Visual C++
- // NewImageSize.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ImageView.h"
- #include "NewImageSize.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CNewImageSize dialog
- CNewImageSize::CNewImageSize(CWnd* pParent /*=NULL*/)
- : CDialog(CNewImageSize::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CNewImageSize)
- m_nWidth = 0;
- m_nHeight = 0;
- m_CurrentSize = _T("");
- //}}AFX_DATA_INIT
- }
- void CNewImageSize::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CNewImageSize)
- DDX_Text(pDX, IDC_EDIT1, m_nWidth);
- DDV_MinMaxInt(pDX, m_nWidth, 1, 2500);
- DDX_Text(pDX, IDC_EDIT2, m_nHeight);
- DDV_MinMaxInt(pDX, m_nHeight, 1, 2500);
- DDX_Text(pDX, IDC_CURRENTSIZE, m_CurrentSize);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CNewImageSize, CDialog)
- //{{AFX_MSG_MAP(CNewImageSize)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CNewImageSize message handlers