Question

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?

Was it helpful?

Solution

Call

SetCursor(LoadCursor(NULL, IDC_ARROW));

immediately after the ShowDropDown() call.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top