Exemplo n.º 1
0
 private bool InitComboBoxInfo(ComponentFactory.Krypton.Toolkit.KryptonComboBox cbo)
 {
     this.cbi        = new Win32.ComboBoxInfo();
     this.cbi.cbSize = Marshal.SizeOf(this.cbi);
     if (!Win32.GetComboBoxInfo(cbo.ComboBox.Handle, ref this.cbi))
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 2
0
 public static bool InitComboBoxInfo(ref ComponentFactory.Krypton.Toolkit.KryptonComboBox cbo, ref Win32.ComboBoxInfo cbi)
 {
     cbi.cbSize = Marshal.SizeOf(cbi);
     if (!Win32.GetComboBoxInfo(cbo.Handle, ref cbi))
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 3
0
 public static extern IntPtr SendMessageCb(IntPtr hWnd, int msg, IntPtr wp, out Win32.ComboBoxInfo lp);