home *** CD-ROM | disk | FTP | other *** search
/ Enter 1999 November / ENTER11_1.bin / WARSZTAT / SDKJava32.exe / data1.cab / fg_Win32Src / Src / Win32Api / SCROLLINFO.java < prev    next >
Encoding:
Java Source  |  1999-03-17  |  853 b   |  33 lines

  1. // (C) Copyright 1995 - 1999 Microsoft Corporation.  All rights reserved.
  2.  
  3. // These classes provide direct, low-overhead access to commonly used
  4. // Windows api. These classes use the new J/Direct feature.
  5. //
  6. // Information on how to use J/Direct to write your own declarations
  7. // can be found in the Microsoft SDK for Java 2.0 or later.
  8.  
  9. package com.ms.win32;
  10.  
  11. /** @dll.struct() */
  12. public class SCROLLINFO {
  13.     public int cbSize = 28; //com.ms.dll.DllLib.sizeOf(this);
  14.     public int fMask;
  15.     public int nMin;
  16.     public int nMax;
  17.     public int nPage;
  18.     public int nPos;
  19.     public int nTrackPos;
  20.  
  21.     public SCROLLINFO() {
  22.     }
  23.  
  24.     public SCROLLINFO(int mask, int min, int max, int page, int pos) {
  25.         fMask = mask;
  26.         nMin = min;
  27.         nMax = max;
  28.         nPage = page;
  29.         nPos = pos;
  30.     }
  31. }
  32.  
  33.