home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / FB < prev    next >
Encoding:
Text File  |  1991-09-09  |  1005 b   |  25 lines

  1.  
  2. /* These defines determine the meaning of the fFlags variable.  The low byte
  3.  * is used for the various types of "boxes" to draw.  The high byte is
  4.  * available for special commands.
  5.  */
  6.  
  7. #define SL_BOX    1             /* Draw a solid border around the rectangle  */
  8. #define SL_BLOCK  2             /* Draw a solid rectangle                    */
  9.  
  10. #define SL_EXTEND 256           /* Extend the current pattern                */
  11.  
  12. #define SL_TYPE    0x00FF       /* Mask out everything but the type flags    */
  13. #define SL_SPECIAL 0xFF00       /* Mask out everything but the special flags */
  14.  
  15. #ifdef  COMPILING_DLL
  16. #  define DLL_EXP  _CC((_WINDOWS | _CALLEE_POPS_STACK | _FAR_CALL | _SAVE_REGS) & ~_REVERSE_PARMS)
  17. #else
  18. #  define DLL_EXP FAR PASCAL
  19. #endif
  20.  
  21. extern int DLL_EXP StartSelection(HWND, POINT, LPRECT, int);
  22. extern int DLL_EXP UpdateSelection(HWND, POINT, LPRECT, int);
  23. extern int DLL_EXP EndSelection(POINT, LPRECT);
  24. extern int DLL_EXP ClearSelection(HWND, LPRECT, int);
  25.