home *** CD-ROM | disk | FTP | other *** search
/ Windows Graphics Programming / Feng_Yuan_Win32_GDI_DirectX.iso / Samples / include / EditView.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-11  |  1.3 KB  |  33 lines

  1. #pragma once
  2.  
  3. //-----------------------------------------------------------------------------------//
  4. //              Windows Graphics Programming: Win32 GDI and DirectDraw               //
  5. //                             ISBN  0-13-086985-6                                   //
  6. //                                                                                   //
  7. //  Written            by  Yuan, Feng                             www.fengyuan.com   //
  8. //  Copyright (c) 2000 by  Hewlett-Packard Company                www.hp.com         //
  9. //  Published          by  Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com      //
  10. //                                                                                   //
  11. //  FileName   : editview.h                                                             //
  12. //  Description: EDIT window with Win32 data type decoding                           //
  13. //  Version    : 1.00.000, May 31, 2000                                              //
  14. //-----------------------------------------------------------------------------------//
  15.  
  16. class KEditView : public KScrollCanvas
  17. {
  18.     HWND          m_hEdit;
  19.     HINSTANCE      m_hInstance;
  20.  
  21.     virtual LRESULT WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  22.  
  23. public:
  24.  
  25.     KEditView(void)
  26.     {
  27.     }
  28.  
  29.     bool Initialize(HINSTANCE hInstance);
  30.     void Decode(DWORD m_Data, DWORD m_Type);
  31. };
  32.  
  33.