home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / scrnsave / cparrow.h < prev    next >
Text File  |  1994-05-26  |  715b  |  21 lines

  1. typedef struct
  2.   {
  3.     short lineup;             /* lineup/down, pageup/down are relative */
  4.     short linedown;           /* changes.  top/bottom and the thumb    */
  5.     short pageup;             /* elements are absolute locations, with */
  6.     short pagedown;           /* top & bottom used as limits.          */
  7.     short top;
  8.     short bottom;
  9.     short thumbpos;
  10.     short thumbtrack;
  11.     BYTE  flags;              /* flags set on return                   */
  12.   } ARROWVSCROLL;
  13. typedef ARROWVSCROLL NEAR     *NPARROWVSCROLL;
  14. typedef ARROWVSCROLL FAR      *LPARROWVSCROLL;
  15.  
  16. #define UNKNOWNCOMMAND 1
  17. #define OVERFLOW       2
  18. #define UNDERFLOW      4
  19.  
  20. BOOL RegisterArrowClass (HANDLE hModule);
  21.