home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / ipc / ddeml / client / track.h < prev   
Text File  |  1997-10-05  |  1KB  |  31 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. /*
  13.  * TRACK.H
  14.  *
  15.  * This module implements a general rectangle tracking service
  16.  */
  17.  
  18. /* TrackRect() flags */
  19.  
  20. #define TF_LEFT                         0x0001
  21. #define TF_TOP                          0x0002
  22. #define TF_RIGHT                        0x0004
  23. #define TF_BOTTOM                       0x0008
  24. #define TF_MOVE                         0x000F
  25.  
  26. #define TF_SETPOINTERPOS        0x0010
  27. #define TF_ALLINBOUNDARY        0x0080
  28.  
  29. BOOL TrackRect(HANDLE hInst, HWND hwnd, INT left, INT top, INT right,
  30.         INT bottom, INT cxMin, INT cyMin, DWORD fs, LPRECT prcResult);
  31.