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

  1. // Copyright (C) 1997 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(auto) */
  13. /**
  14.  * MENUITEMINFO_T is useful only for inserting and setting menu item
  15.  * information via Win32 methods InsertMenuItem and SetMenuItemInfo.
  16.  */
  17. public class MENUITEMINFO_T
  18. {
  19.     public int      cbSize = 44; //com.ms.dll.DllLib.sizeOf(this);
  20.     public int      fMask;
  21.     public int      fType;
  22.     public int      fState;
  23.     public int      wID;
  24.     public int      hSubMenu;
  25.     public int      hbmpChecked;
  26.     public int      hbmpUnchecked;
  27.     public String   dwItemData;
  28.     public int      dwTypeData;
  29.     public int      cch;
  30. }
  31.  
  32.