views:

361

answers:

1

In my MFC application, when I call CComboBox::ShowDropDown(), the mouse cursor is hidden until interaction with the combo box completes (when the combo box loses focus.) It doesn't reappear when the mouse is moved, like it does with edit boxes.

How can I keep the mouse cursor from being hidden?

+1  A: 

Call

SetCursor(LoadCursor(NULL, IDC_ARROW));

immediately after the ShowDropDown() call.

Aidan Ryan