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
PeeperFrm.h
Package: TOUKUI-1.5.zip [view]
Upload User: xztxsm
Upload Date: 2007-02-12
Package Size: 150k
Code Size: 4k
Category:
Remote Control
Development Platform:
Visual C++
- ///////////////////////////////////////////////////////////////////////////////
- // 远程控制软件-偷窥者 主窗口 //
- // 日期:2001/10/02 //
- // 作者:刘东发 //
- // Email:dongfa@yeah.net //
- // http://dongfa.yeah.net //
- // OICQ:5584173 阿东 //
- // 作者声明: //
- // 此部分代码全是作者所写,可以随便传播,但要保持文件的完整性,有问题 //
- // 或者意见请来信,谢谢! //
- ///////////////////////////////////////////////////////////////////////////////
- #ifndef __PEEPER_FRAME_H__
- #define __PEEPER_FRAME_H__
- #include "../PeeperMenu.h"
- class CMainClientWnd : public CWnd
- {
- public:
- CMainClientWnd();
- virtual ~CMainClientWnd();
- BOOL SetBkBitmap(HBITMAP hBmp, BOOL bStretch = FALSE);
- BOOL PaintBmp();
- protected:
- CDC m_memDC;
- SIZE m_szBmp;
- BOOL m_bStretch;
- public:
- //{{AFX_VIRTUAL(CMainClientWnd)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CMainClientWnd)
- afx_msg void OnPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- class CChildFrame : public CMDIChildWnd
- {
- DECLARE_DYNCREATE(CChildFrame)
- public:
- CChildFrame();
- virtual ~CChildFrame();
- public:
- //{{AFX_VIRTUAL(CChildFrame)
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CChildFrame)
- afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- class CPeeperBar : public CDialogBar
- {
- public:
- CPeeperBar();
- virtual ~CPeeperBar();
- public:
- //{{AFX_VIRTUAL(CPeeperBar)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CPeeperBar)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- class CPeeperWnd;
- class CPeeperClientDoc;
- class CMainFrame : public CMDIFrameWnd
- {
- DECLARE_DYNAMIC(CMainFrame)
- public:
- CMainFrame();
- virtual ~CMainFrame();
- CChildFrame *GetCurFrame();
- CPeeperWnd *GetCurPeeperWnd();
- CPeeperClientDoc *GetCurPeeperDoc();
- public:
- //{{AFX_VIRTUAL(CMainFrame)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- //}}AFX_VIRTUAL
- public:
- CStatusBar m_wndStatusBar;
- CToolBar m_wndToolBar;
- CPeeperBar m_wndCommand;
- CPeeperBar m_wndFile;
- CPeeperBar m_wndComputer;
- CToolBar m_wndDibView;
- // for full screen
- CRect m_rcOldRect;
- int m_nOldCmdShow;
- BOOL m_bIsFullScreen;
- CMainClientWnd m_wndClientWnd;
- protected:
- CPeeperMenu m_hPeeperMenu;
- CPeeperMenu m_hPeeperClientMenu;
- CPeeperMenu m_hPeeperSysMenu;
- public:
- BOOL PeeperMenuAttach(HMENU hMenu);
- BOOL PeeperClientMenuAttach(HMENU hMenu);
- void OnExecCommand();
- void OnExecComputer();
- void OnExecFile();
- void OnFullScreen();
- void OnFileClose();
- void OnFileNew();
- int GetClientCount();
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnMenuCommand();
- afx_msg void OnUpdateMenuCommand(CCmdUI* pCmdUI);
- afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
- afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
- afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif //__PEEPER_FRAME_H__