home *** CD-ROM | disk | FTP | other *** search
/ Windows Graphics Programming / Feng_Yuan_Win32_GDI_DirectX.iso / Samples / Chapt_05 / Device / DevPage.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-11  |  1.4 KB  |  34 lines

  1. //-----------------------------------------------------------------------------------//
  2. //              Windows Graphics Programming: Win32 GDI and DirectDraw               //
  3. //                             ISBN  0-13-086985-6                                   //
  4. //                                                                                   //
  5. //  Written            by  Yuan, Feng                             www.fengyuan.com   //
  6. //  Copyright (c) 2000 by  Hewlett-Packard Company                www.hp.com         //
  7. //  Published          by  Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com      //
  8. //                                                                                   //
  9. //  FileName   : devpage.h                                                             //
  10. //  Description: KDevicePage class                                                   //
  11. //  Version    : 1.00.000, May 31, 2000                                              //
  12. //-----------------------------------------------------------------------------------//
  13.  
  14. class KDevicePage : public KPropertySheetPage
  15. {
  16.     HINSTANCE m_hInstance;
  17.  
  18.     BOOL DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  19.  
  20.     BOOL OnInitDialog(HWND hWnd);
  21.  
  22.     BOOL OnDeviceChange(HWND hWnd);
  23.     BOOL OnDeviceCaps(HWND hWnd);
  24.     BOOL OnDCAttributes(HWND hWnd);
  25.  
  26. public:
  27.  
  28.     KDevicePage(HINSTANCE hInstance)
  29.     {
  30.         m_hInstance = hInstance;
  31.     }
  32.  
  33. };
  34.