On Wednesday, May 30, 2007, at 11:45AM, <joe at strout dot net> wrote:
>And meanwhile, does anyone have a solution to this problem (of knowing
>when the last file has been processed) more clever than resetting a
>Timer on each OpenDocument call?
I think a better description of the problem is that one needs to know at launch
whether to open a blank document or whether some OpenDocument event is
forthcoming?
In such a case what I do is always open up a blank document window at launch.
When an OpenDocument event arrives (at launch or whenever), I look if there is
a blank unedited document window open, and if there is then I replace the
document in the window by the one from the OpenDocument event. If there isn't
then I open a new window.
Steve
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|