.NET CF set 'DroppedDown' for combobox
c#, combobox, compact-framework
Solution
You can take the same approach as in the referenced article and send it a Message.
Instead use `const int CB_SHOWDROPDOWN = 0x14F` for your message.
From that reference sample, modified a bit:
Message.Create(comboBox.Handle, CB_SHOWDROPDOWN , (IntPtr)1, IntPtr.Zero); // to open
Message.Create(comboBox.Handle, CB_SHOWDROPDOWN , (IntPtr)0, IntPtr.Zero); // to close
Problem
I want to open a combobox from my program on a mobile program (.net cf 3.5). but there doesn't exist a property like `cmbBox.DroppedDown` in compact-framework Accesing WinCE ComboBox DroppedDown property (.NET CF 2.0) But I don't want to get the current state, but to set it. How do I perform this?