Exemplo n.º 1
0
        private Rectangle GetDropDownButtonRect()
        {
            ComboBoxInfo cbi = GetComboBoxInfo();

            return(cbi.rcButton.Rect);
        }
Exemplo n.º 2
0
        private bool GetComboBoxButtonPressed()
        {
            ComboBoxInfo cbi = GetComboBoxInfo();

            return(cbi.stateButton == ComboBoxButtonState.STATE_SYSTEM_PRESSED);
        }
Exemplo n.º 3
0
 private ComboBoxInfo GetComboBoxInfo()
 {
     ComboBoxInfo cbi = new ComboBoxInfo();
     cbi.cbSize = Marshal.SizeOf(cbi);
     WinMethod.GetComboBoxInfo(base.Handle, ref cbi);
     return cbi;
 }
Exemplo n.º 4
0
 public static extern bool GetComboBoxInfo(IntPtr hwndCombo, ref ComboBoxInfo info);
Exemplo n.º 5
0
 public static extern bool GetComboBoxInfo(IntPtr hwndCombo, ref ComboBoxInfo info);