pathpg.h
资源名称:shell.rar [点击查看]
上传用户:xhy777
上传日期:2007-02-14
资源大小:24088k
文件大小:1k
源码类别:
系统编程
开发平台:
Visual C++
- #ifndef PAGE1_H_INCLUDED
- #define PAGE1_H_INCLUDED
- #include "dialog.h"
- class CNetPlacesWizardPage1 : public CPropertyPage
- {
- public:
- CNetPlacesWizardPage1(NETPLACESWIZARDDATA* pdata): m_pdata(pdata), m_hwndExampleTT(NULL) {}
- 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 OnActivate(HWND hwnd, UINT state, HWND hwndActDeact, BOOL fMinimized);
- BOOL OnDestroy(HWND hwnd);
- // Helpers
- DWORD GetNextPage(HWND hwndDlg);
- void SetPageState(HWND hwnd);
- void InitExampleTooltip(HWND hwnd);
- void TrackExampleTooltip(HWND hwnd);
- void ShowExampleTooltip(HWND hwnd);
- // Data
- NETPLACESWIZARDDATA* m_pdata;
- HWND m_hwndExampleTT;
- // Parent subclass stuff
- HWND m_hwnd;
- WNDPROC m_pfnOldPropSheetParentProc;
- static LRESULT CALLBACK StaticParentSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
- LRESULT CALLBACK ParentSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
- };
- #endif // !PAGE1_H_INCLUDED
English
