title: Delphi 6 cursor not changing
body: <p>If I have a ButtonClick event which sets Cursor := crHourglass, Application.ProcessMessages, then use a TOpenDialog to choose a file, and then do something CPU-intensive, the cursor behaves differently depending on whether it is over the existing control when the Open Dialog closes. If the cursor is over the control then the cursor remains as an hourglass; if it's outside the application completely and then moved into the area while the intensive process is still taking place, the cursor remains as an arrow. One cannot click or do anything so it's confusing to the user to get an arrow but not be able to do anything with it.</p>
  
  <p>Stepping through the debugger shows the Cursor is -11 everywhere it should be. Using Screen.Cursor instead of Cursor has the same effect.</p>
  
  <p>Is there a solution?</p>
  
  <pre><code>procedure TMyForm.LoadButtonClick(Sender: TObject);
  begin
    Cursor := crHourglass;
    Application.ProcessMessages;
    if OpenDialog.Execute then begin
      // Do something intensive
      // Cursor = crHourglass here but what is displayed is different
    end;
    Cursor := crDefault;
  end;
  </code></pre>