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
browse.h
Package: shell.rar [view]
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:
Windows Kernel
Development Platform:
Visual C++
- #ifndef BROWSE_H_INCLUDED
- #define BROWSE_H_INCLUDED
- #include "dialog.h"
- // CNoDsBrowseDialog
- // Invoked to find computers with shares on a network, even without a DS
- // Used when the computer is not a member of an NT5 domain or anytime a
- // DS isn't available
- class CNoDsBrowseDialog: public CDialog
- {
- public:
- CNoDsBrowseDialog(NETPLACESDATA* pdata, TCHAR* pszBuffer, int cchBuffer):
- m_pdata(pdata), m_pszBuffer(pszBuffer), m_cchBuffer(cchBuffer)
- {}
- protected:
- // Message handlers
- virtual INT_PTR DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- BOOL OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam);
- BOOL OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify);
- BOOL OnNotify(HWND hwnd, int idCtrl, LPNMHDR pnmh);
- BOOL OnDestroy(HWND hwnd);
- BOOL OnSetCursor(HWND hwnd, HWND hwndCursor, UINT codeHitTest, UINT msg);
- // Helpers
- BOOL AddServerNamesToList(HWND hwndList);
- void EnableOKButton(HWND hwnd, BOOL fEnable);
- void OnOK(HWND hwnd, int iItem);
- static DWORD WINAPI AddServerNamesThread(LPVOID lpParam);
- private:
- TCHAR* m_pszBuffer;
- int m_cchBuffer;
- NETPLACESDATA* m_pdata;
- // Some data needed by the 'Add server names to listview' thread
- HWND m_hwndList;
- BOOL m_fShowWaitCursor;
- };
- #endif //!BROWSE_H_INCLUDED