コード例 #1
0
ファイル: User32.cs プロジェクト: Kuzq/gitter
 public static extern bool GetComboBoxInfo(IntPtr hwndCombo, ref COMBOBOXINFO pcbi);
コード例 #2
0
ファイル: CustomPopupComboBox.cs プロジェクト: Kuzq/gitter
 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);
 }
コード例 #3
0
 public static extern bool GetComboBoxInfo(IntPtr hwndCombo, ref COMBOBOXINFO pcbi);