home *** CD-ROM | disk | FTP | other *** search
- //-----------------------------------------------------------------------------------//
- // Windows Graphics Programming: Win32 GDI and DirectDraw //
- // ISBN 0-13-086985-6 //
- // //
- // Written by Yuan, Feng www.fengyuan.com //
- // Copyright (c) 2000 by Hewlett-Packard Company www.hp.com //
- // Published by Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com //
- // //
- // FileName : devcaps.h //
- // Description: KDeviceCaps dialog box //
- // Version : 1.00.000, May 31, 2000 //
- //-----------------------------------------------------------------------------------//
-
- class KDeviceCaps : public KDialog
- {
- HDC m_hDC;
- KListView m_List;
-
- BOOL OnInitDialog(void);
-
- BOOL DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
-
- void OneCap(int index, const TCHAR * name, const TCHAR * format);
-
- public:
-
- KDeviceCaps(HDC hDC)
- {
- m_hDC = hDC;
- }
- };
-