Hi Guys,
I'm creating a user control with a combobox that drops a list of choices as soon as a key is pressed in the combobox text area. Here is the code snippet:
private void cmbAddressBar_keyPress(object sender, KeyPressEventArgs e)
{
cmbAddressBar.Items.Add("Blue"
cmbAddressBar.Items.Add("Green"
cmbAddressBar.Items.Add("Red"
cmbAddressBar.DroppedDown = true;
e.Handled = true;
}
However, once the list drops down the mouse becomes invisible. If I move the mouse off of the form, it reappears. If I move the mouse over the dropp down list, the selection bar tracks the mouse (although the mouse pointer remains invisible).
If anyone has any ideas, it would really be appreciated.
I'm creating a user control with a combobox that drops a list of choices as soon as a key is pressed in the combobox text area. Here is the code snippet:
private void cmbAddressBar_keyPress(object sender, KeyPressEventArgs e)
{
cmbAddressBar.Items.Add("Blue"
cmbAddressBar.Items.Add("Green"
cmbAddressBar.Items.Add("Red"
cmbAddressBar.DroppedDown = true;
e.Handled = true;
}
However, once the list drops down the mouse becomes invisible. If I move the mouse off of the form, it reappears. If I move the mouse over the dropp down list, the selection bar tracks the mouse (although the mouse pointer remains invisible).
If anyone has any ideas, it would really be appreciated.