home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / Src / Win32Api / CHOOSEFONT.java < prev    next >
Encoding:
Java Source  |  1998-03-05  |  1013 b   |  32 lines

  1. // Copyright (C) 1997-1998 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.
  8.  
  9. package com.ms.win32;
  10.  
  11.  
  12. /** @dll.struct(pack=1, auto) */
  13. public class CHOOSEFONT {
  14.     public int          lStructSize = 60;   // com.ms.dll.DllLib.sizeOf(this);
  15.     public int          hwndOwner;
  16.     public int          hDC;
  17.     public int          lpLogFont;
  18.     public int          iPointSize;
  19.     public int          Flags;
  20.     public int          rgbColors;
  21.     public int          lCustData;
  22.     public int /* Callback */    lpfnHook;
  23.     public String       lpTemplateName;
  24.     public int          hInstance;
  25.     public String       lpszStyle;
  26.     public short        nFontType;
  27.     public short        ___MISSING_ALIGNMENT__;
  28.     public int          nSizeMin;
  29.     public int          nSizeMax;
  30. }
  31.  
  32.