home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / activexcontrol / basectl / card / cardppg.h < prev    next >
C/C++ Source or Header  |  1997-10-05  |  1KB  |  50 lines

  1. //=--------------------------------------------------------------------------=
  2. // CardPPG.H
  3. //=--------------------------------------------------------------------------=
  4. // Copyright 1996 - 1997 Microsoft Corporation.  All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. //
  12. // class declaration for Card's property pages.
  13. //
  14. #ifndef _CARDPROPPAGE_H_
  15.  
  16.  
  17. // kinda need these
  18. //
  19. #include "PropPage.H"
  20. #include "Resource.H"
  21. #include "Guids.H"
  22.  
  23. class CCardGeneralPage : public CPropertyPage {
  24.  
  25.   public:
  26.     static IUnknown *Create(IUnknown *pUnkOuter);
  27.  
  28.     // constructor and destructor
  29.     //
  30.     CCardGeneralPage(IUnknown *pUnkOuter);
  31.     virtual ~CCardGeneralPage();
  32.  
  33.   private:
  34.     virtual BOOL DialogProc(HWND, UINT, WPARAM, LPARAM);
  35.  
  36. };
  37.  
  38. DEFINE_PROPERTYPAGEOBJECT(CardGeneral,
  39.     &CLSID_CardGeneralPage,
  40.     "Card General Propery Page",
  41.     CCardGeneralPage::Create,
  42.     IDD_PROPPAGE_CARDGENERAL,
  43.     IDS_CARD_GENERALPAGETITLE,
  44.     IDS_CARD_GENERALDOCSTRING,
  45.     "vb.hlp",
  46.     0);
  47.  
  48. #define _CARDPROPPAGE_H_
  49. #endif // _CARDPROPPAGE_H_
  50.