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

  1. // Copyright (C) 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. /**
  14.  * TV_ITEM_T corresponds to a Win32 TVITEM structure.
  15.  * This class is useful only for modifying a tree view item's attributes via
  16.  * Windows message TVM_SETITEM.  It should not be used for querying a tree
  17.  * view item's attributes via TVM_GETITEM, as the pszText field may be invalid.
  18.  */
  19. public class TV_ITEM_T
  20. {
  21.     public int      mask;
  22.     public int      hItem;
  23.     public int      state;
  24.     public int      stateMask;
  25.     public String   pszText;
  26.     public int      cchTextMax;
  27.     public int      iImage;
  28.     public int      iSelectedImage;
  29.     public int      cChildren;
  30.     public int      lParam;
  31. }
  32.  
  33.