home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / acdual / mfcctrl / autoclik.h < prev    next >
C/C++ Source or Header  |  1998-04-02  |  1KB  |  54 lines

  1. // autoclik.h: defines the IDispatch classes available from AUTOCLIK.EXE
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. // Machine generated IDispatch driver class(es) created with MFCDSPWZ tool.
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CAutoClik wrapper class
  17.  
  18. class CAutoClik : public COleDispatchDriver
  19. {
  20. // Attributes
  21. public:
  22.     CString GetText();
  23.     void SetText(LPCTSTR);
  24.     short GetX();
  25.     void SetX(short);
  26.     short GetY();
  27.     void SetY(short);
  28.     LPDISPATCH GetPosition();
  29.     void SetPosition(LPDISPATCH);
  30.  
  31. // Operations
  32. public:
  33.     void RefreshWindow();
  34.     void SetAllProps(short x, short y, LPCTSTR text);
  35.     void ShowWindow();
  36. };
  37.  
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40. // CClikPoint wrapper class
  41.  
  42. class CClikPoint
  43. {
  44. // Attributes
  45. public:
  46.     short GetX();
  47.     void SetX(short);
  48.     short GetY();
  49.     void SetY(short);
  50.  
  51. // Operations
  52. public:
  53. };
  54.