How to displaying the hourglass cursor during some lengthy processing of a command handler implemented in dialog base application.
I've tried the BeginWaitCursor command, but like MSDN explain, the dialog box normally change the cursor to the standard arrow cursor, and leave the cursor in as the standard arrow cursor.