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
ftdlg.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++
- #ifndef FTDLG_H
- #define FTDLG_H
- class IAssocStore;
- class CFTDlg
- {
- public:
- CFTDlg(ULONG_PTR ulpAHelpIDsArray, BOOL fAutoDelete);
- virtual ~CFTDlg();
- public:
- INT_PTR DoModal(HINSTANCE hinst, LPTSTR pszResource, HWND hwndParent);
- protected:
- virtual LRESULT OnCommand(WPARAM wParam, LPARAM lParam);
- virtual LRESULT OnNotify(WPARAM wParam, LPARAM lParam);
- virtual LRESULT OnInitDialog(WPARAM wParam, LPARAM lParam) = 0;
- virtual LRESULT OnDestroy(WPARAM wParam, LPARAM lParam);
- virtual LRESULT OnOK(WORD wNotif);
- virtual LRESULT OnCancel(WORD wNotif);
- LRESULT OnCtrlSetFocus(WPARAM wParam, LPARAM lParam);
- virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
- LRESULT DefWndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
- static LRESULT DefWndProc(HWND hwnd, UINT uMsg, WPARAM wParam,
- LPARAM lParam);
- ULONG_PTR GetHelpIDsArray();
- // Misc
- void SetHWND(HWND hwnd) { _hwnd = hwnd; }
- void ResetHWND() { _hwnd = NULL; }
- HRESULT _InitAssocStore();
- static void MakeDefaultProgIDDescrFromExt(LPTSTR pszProgIDDescr, DWORD dwProgIDDescr,
- LPTSTR pszExt);
- protected:
- HWND _hwnd;
- HCURSOR _hcursorWait;
- HCURSOR _hcursorOld;
- BOOL _fAutoDelete;
- ULONG_PTR _rgdwHelpIDsArray;
- // Our connection to the data
- IAssocStore* _pAssocStore;
- public:
- static BOOL_PTR CALLBACK FTDlgWndProc(HWND hwnd, UINT uMsg,
- WPARAM wParam, LPARAM lParam);
- };
- #endif //FTDLG_H