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
Top1.h
Package: VC界面编程高级应用技术.rar [view]
Upload User: szcysw
Upload Date: 2013-03-11
Package Size: 6752k
Code Size: 2k
Category:
GUI Develop
Development Platform:
Visual C++
- #if !defined(AFX_TOP_H__69C29E69_DC35_437E_9CB6_0BC0732FE992__INCLUDED_)
- #define AFX_TOP_H__69C29E69_DC35_437E_9CB6_0BC0732FE992__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Top.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CTop view
- /*
- CTop 视图
- 1、根据选择的内容动态生成HTML文件
- 2、接收WM_RECONSTRUCT消息,进行显示列表项的重组
- 3、对外发送的消息WM_INTERACTIVE_WITH_FRAME
- */
- #include <afxcview.h>
- class CTop : public CListView
- {
- protected:
- CTop();
- DECLARE_DYNCREATE(CTop)
- public:
- //临时目录名
- CString htmlpath;
- //记录用户输入的查询关键词
- CString KeyWord[100];
- BOOL IsFuzzyFind;
- //当前选择的类、子类
- CString Detail_old;
- //删除目录函数
- void DeleteTree(CString szBeDeletePath);
- //判断文件是否存在
- BOOL IsFileExist(CString strFileName);
- //动态生成HTML文件
- CString DynaCrateHtml(CString fileindex,CString content,CString title);
- virtual void OnInitialUpdate();
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTop)
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CTop();
- ///afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- //{{AFX_MSG(CTop)
- //重新生成视图
- afx_msg void ReconstructListView(WPARAM Query_Mode,LPARAM detail);
- afx_msg void OnItemchanged(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TOP_H__69C29E69_DC35_437E_9CB6_0BC0732FE992__INCLUDED_)