Re: unwanted DOS window

new topic     » goto parent     » topic index » view thread      » older message » newer message

Wolf ne keha,  5/3/01 5:34 AM per, ke:

> If you are using win32lib ver. 0.55.1, you could use something like the
> following:
> 
> object jk
> sequence current
> current=current_dir()
> jk=shellExecuteEx("open","notepad.exe","LogFile",current,SW_SHOWNORMAL,0)
> 
> ... no DOS window here ! ...
> 
> 
> 

This is great and works well. However, it appears to work at its own speed
and independently of the process which called it. Is there any way of having
my program wait until the shelled process is complete?

On a related issue, is there a way of getting hold of the window title of
every window on the machine, over and above whatever windows my program has
created? This question derives from wanting to watch for the disappearance
of the window created by my shell call.

I'm slowly getting the hand of Win32 programming after years of DOS. It's
great having the registered version!

Bruce.

-- 
It is amazing how complete is the delusion that beauty is goodness.
    -- Tolstoy.

.. or that fame is wisdom.
    -- Ken Edgecombe.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu