home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n07 / gdiobj.exe / GDIOBJ1.H < prev    next >
C/C++ Source or Header  |  1995-07-01  |  514b  |  30 lines

  1. class CMyApp : public CWinApp
  2. {
  3. public:
  4.     BOOL InitInstance ();
  5. };
  6.  
  7. class CMainWindow : public CFrameWnd
  8. {
  9. private:
  10.     int m_cxChar;
  11.     int m_cyChar;
  12.  
  13.     void ShowPenStyles (CDC*, int, int);
  14.     void ShowPenWidths (CDC*, int, int);
  15.     void ShowBrushStyles (CDC*, int, int);
  16.  
  17. public:
  18.     CMainWindow ();
  19.  
  20. protected:
  21.     afx_msg int OnCreate (LPCREATESTRUCT);
  22.     afx_msg void OnPaint ();
  23.     DECLARE_MESSAGE_MAP ()
  24. };
  25.  
  26. struct STYLES {
  27.     int nStyle;
  28.     char szStyleName[16];
  29. };
  30.