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
dialogs.h
Package: shell.rar [view]
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 2k
Category:
Windows Kernel
Development Platform:
Visual C++
- /*****************************************************************************
- FILE: Dialogs.h
- DESCRIPTION:
- This file exists to display dialogs needed during FTP operations.
- *****************************************************************************/
- #ifndef _DIALOGS_H
- #define _DIALOGS_H
- #ifdef ADD_ABOUTBOX
- HRESULT DisplayAboutBox(HWND hWnd);
- #endif // ADD_ABOUTBOX
- HRESULT BrowseForDir(HWND hwndParent, LPCTSTR pszTitle, LPCITEMIDLIST pidlDefaultSelect, LPITEMIDLIST * ppidlSelected);
- /*****************************************************************************
- Class: CDownloadDialog
- DESCRIPTION:
- Display the Downoad Dialog to select a directory to download into.
- *****************************************************************************/
- class CDownloadDialog
- {
- public:
- CDownloadDialog();
- ~CDownloadDialog(void);
- // Public Member Functions
- HRESULT ShowDialog(HWND hwndOwner, LPTSTR pszDir, DWORD cchSize, DWORD * pdwDownloadType);
- static INT_PTR CALLBACK DownloadDialogProc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam);
- protected:
- // Private Member Variables
- HWND m_hwnd;
- LPTSTR m_pszDir;
- DWORD m_dwDownloadType;
- // Private Member Functions
- BOOL _DownloadDialogProc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam);
- BOOL _OnCommand(HWND hDlg, WPARAM wParam, LPARAM lParam);
- BOOL _InitDialog(HWND hDlg);
- HRESULT _DownloadButton(HWND hDlg);
- void _BrowseButton(HWND hDlg);
- };
- #endif // _DIALOGS_H