home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / palette / pal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-16  |  1.6 KB  |  51 lines

  1. // Pal is a .CPP program that mimics almost exactly the sample .C
  2. // program called 'Palette' which is included with Visual C.
  3. // Of cource, you use this program 'at your own risk' (I'm supposed to
  4. // say that, just in case something weird happens just at the very moment
  5. // you begin compiling or executing the program). 
  6. // I've included relevent comments, but if there's anything you don't
  7. // understand, feel free to contact me,  I'll try to answer your questions.
  8. // In order to simplify unzipping, there is no RES subdirectory, so I've
  9. // changed the relevant lines in the .RC file. I also had to change a line
  10. // in the .MAK file, but since it is NOT generally good practice to alter
  11. // the ApplicationWizard generated.MAK file, I haven't indicated which one it is.
  12. // Good Luck.
  13. // Pamela Grandt  73150,3072  
  14.  
  15.  
  16.  
  17. // pal.h : main header file for the PAL application
  18. //
  19.  
  20. #ifndef __AFXWIN_H__
  21.     #error include 'stdafx.h' before including this file for PCH
  22. #endif
  23.  
  24. #include "resource.h"        // main symbols
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CPalApp:
  28. // See pal.cpp for the implementation of this class
  29. //
  30.  
  31. class CPalApp : public CWinApp
  32. {
  33. public:
  34.     CPalApp();
  35.  
  36. // Overrides
  37.     virtual BOOL InitInstance();
  38.  
  39. // Implementation
  40.  
  41.     //{{AFX_MSG(CPalApp)
  42.     afx_msg void OnAppAbout();
  43.         // NOTE - the ClassWizard will add and remove member functions here.
  44.         //    DO NOT EDIT what you see in these blocks of generated code !
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.