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
LP.cpp
Package: LPR.rar [view]
Upload User: jjiangjuan
Upload Date: 2013-03-27
Package Size: 59k
Code Size: 1k
Category:
Wavelet
Development Platform:
Visual C++
- // LP.cpp : implementation file
- //
- #include "stdafx.h"
- #include "LPR.h"
- #include "LP.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CLP
- CLP::CLP()
- {
- LPLocated=false;
- }
- CLP::~CLP()
- {
- }
- BEGIN_MESSAGE_MAP(CLP, CStatic)
- //{{AFX_MSG_MAP(CLP)
- ON_WM_PAINT()
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CLP message handlers
- void CLP::OnPaint()
- {
- CPaintDC dc(this); // device context for painting
- // TODO: Add your message handler code here
- // Do not call CStatic::OnPaint() for painting messages
- dc.RealizePalette();
- SetStretchBltMode(dc.GetSafeHdc(), COLORONCOLOR);
- SetDIBitsToDevice(dc.GetSafeHdc(),
- 0,
- 0,
- DIB.bmiHeader.biWidth,
- DIB.bmiHeader.biHeight,
- 0,
- 0,
- 0,
- DIB.bmiHeader.biHeight,
- LPArea,
- &DIB,
- DIB_RGB_COLORS);
- }