dback.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. #ifndef _DBACK_H_
  2. #define _DBACK_H_
  3. class CBackPropSheetPage : public PROPSHEETPAGE
  4. {
  5. public:
  6.     CBackPropSheetPage(void);
  7. protected:
  8.     HWND _hwnd;
  9.     HWND _hwndLV;
  10.     HWND _hwndWPStyle;
  11.     BOOL _fAllowHtml;
  12.     BOOL _fAllowAD;
  13.     BOOL _fAllowChanges;
  14.     static BOOL CALLBACK _DlgProc(HWND hdlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  15.     int _AddAFileToLV(LPCTSTR pszDir, LPTSTR pszFile, UINT nBitmap);
  16.     void _AddFilesToLV(LPCTSTR pszDir, LPCTSTR pszSpec, UINT nBitmap);
  17.     int _FindWallpaper(LPCTSTR pszFile);
  18.     void _SetNewWallpaper(LPCTSTR pszFile);
  19.     void _UpdatePreview(WPARAM flags);
  20.     void _EnableControls(void);
  21.     int _GetImageIndex(LPCTSTR pszFile);
  22.     static int CALLBACK _SortBackgrounds(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
  23.     void _OnInitDialog(HWND hwnd);
  24.     void _OnNotify(LPNMHDR lpnm);
  25.     void _OnCommand(WORD wNotifyCode, WORD wID, HWND hwndCtl);
  26.     void _OnDestroy(void);
  27. };
  28. #endif