Example #1
0
 public static extern bool GetComboBoxInfo(IntPtr hwndCombo, ref COMBOBOXINFO pcbi);
Example #2
0
 protected override void OnHandleCreated(EventArgs e)
 {
     base.OnHandleCreated(e);
     var x = new COMBOBOXINFO();
     x.cbSize = (uint)Marshal.SizeOf(typeof(COMBOBOXINFO));
     var b = User32.GetComboBoxInfo(Handle, ref x);
     _listBoxDefaultWndProc = NativeUtility.SetWindowProc(x.hwndList, _listBoxWndProc);
 }
Example #3
0
 public static extern bool GetComboBoxInfo(IntPtr hwndCombo, ref COMBOBOXINFO pcbi);