home *** CD-ROM | disk | FTP | other *** search
/ Enter 1999 November / ENTER11_1.bin / WARSZTAT / SDKJava32.exe / data1.cab / fg_Win32Src / Src / Win32Api / TV_ITEM_T.java < prev    next >
Encoding:
Java Source  |  1999-03-17  |  1.0 KB  |  34 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.  
  12. /**
  13.  * TV_ITEM_T corresponds to a Win32 TVITEM structure.
  14.  * This class is useful only for modifying a tree view item's attributes via
  15.  * Windows message TVM_SETITEM.  It should not be used for querying a tree
  16.  * view item's attributes via TVM_GETITEM, as the pszText field may be invalid.
  17.  */
  18.  
  19. /** @dll.struct(pack=1, auto) */
  20. public class TV_ITEM_T
  21. {
  22.     public int      mask;
  23.     public int      hItem;
  24.     public int      state;
  25.     public int      stateMask;
  26.     public String   pszText;
  27.     public int      cchTextMax;
  28.     public int      iImage;
  29.     public int      iSelectedImage;
  30.     public int      cChildren;
  31.     public int      lParam;
  32. }
  33.  
  34.