using System;
using System.Runtime.InteropServices;
namespace Microsoft.Win32
{
///
/// COMBOBOXINFO定义
///
public static partial class NativeMethods
{
///
/// COMBOBOXINFO Contains combo box status information.
///
[StructLayout(LayoutKind.Sequential)]
public struct COMBOBOXINFO
{
///
/// The size, in bytes, of the structure. The calling application must set this to sizeof(COMBOBOXINFO).
///
public int cbSize;
///
/// A RECT structure that specifies the coordinates of the edit box.
///
public RECT rcItem;
///
/// A RECT structure that specifies the coordinates of the button that contains the drop-down arrow.
///
public RECT rcButton;
///
/// The combo box button state. This parameter can be one of the following values.
/// Value Meaning
/// 0
/// The button exists and is not pressed.
/// STATE_SYSTEM_INVISIBLE
/// There is no button.
/// STATE_SYSTEM_PRESSED
/// The button is pressed.
///
public int stateButton;
///
/// A handle to the combo box.
///
public IntPtr hwndCombo;
///
/// A handle to the edit box.
///
public IntPtr hwndItem;
///
/// A handle to the drop-down list.
///
public IntPtr hwndList;
}
}
}