I have sample code for GetComboBoxInfo from here
But am getting error code 87 at below code :
if(GetComboBoxInfo(comboBox1.Handle, ref cbi))
{
if(cbi.hwndEdit == IntPtr.Zero)
{
throw new Exception("ComboBox must have the DropDown style!");
}
}
And always getting as IntPtr.Zero but above code is working fine in 32 bit operating system. Can you please help how to make above code work in 64 Bit Operating System.