Stop function execution

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Andrew Sims (asimachkevitch_at_edisoft.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 11:52:49 -0500

Hi, all:

I have a function which takes a long time to finish, so I'm using

BeginWaitCursor();

MyFunction();

EndWaitCursor();

How can I stop executing this function in the middle? During execution my
window seems is not catching any messages.

Thanks in advance,

Andrew



Relevant Pages

  • Re: Stop function execution
    ... Andrew Sims wrote: ... If you want your window to continue processing messages then the ... solution is to do MyFunction in a separate thread. ...
    (microsoft.public.vc.mfc)
  • Re: JScript scope: "myFunction" in window ?
    ... alert(typeof myFunction); // false in IE. ... explicitly onto window. ... of the assignment operation actually evaluates first, ... defined in the closure's scope, so it never goes down the scope chain ...
    (comp.lang.javascript)
  • JavaScript: create a blocking modeless dialog box
    ... I am using the overlayed transparent div technique that covers the entire ... effectively simulating a modal dialog window. ... function myFunction() { ... myFunction inserts some HTML to simulate the modal dialog window. ...
    (microsoft.public.scripting.jscript)
  • Re: how do you automate checking for application window focus?
    ... handlers... ... it's the top window. ... I guess I need to look into catching events from ... > there any way I can check this through automation? ...
    (microsoft.public.office.developer.automation)
  • Re: Quote of the day (from non-riders)
    ... I wound up catching it and throwing it back in the window. ... It was one of the coolest things I've ever done. ...
    (rec.sport.unicycling)