예제 #1
0
        private Rectangle GetDropDownButtonRect()
        {
            ComboBoxInfo cbi = GetComboBoxInfo();

            return(cbi.rcButton.Rect);
        }
예제 #2
0
        private bool GetComboBoxButtonPressed()
        {
            ComboBoxInfo cbi = GetComboBoxInfo();

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