AfxGetApp()->EndWaitCursor() is not hiding cursor

  • Thread starter Thread starter sgrm123
  • Start date Start date
S

sgrm123

Guest
Hi,

In my application I have virtual virtual list control. I am updating the list control based on filters selected by the uers.

When updating the list control I am sorting the data and calling SetItemCount().

I am using AfxGetApp()->BeginWaitCursor(); and AfxGetApp()->EndWaitCursor(); while updating the list control but the EndWaitCursor is not hiding the waiting cursor. If I click on the dialog or control the cursor is getting hided.

My dialog is child dialog of property page.

My code



AfxGetApp()->BeginWaitCursor();
sorting code
calling SetItemCount()

AfxGetApp()->EndWaitCursor();

What could be the reason why the cursor is not getting hided? Any guesses?

Continue reading...
 
Back
Top