On Wed, 12 Jan 2000, Mark Derricutt wrote:

> On Wed, 22 Dec 1999, Jason Coley wrote:
> 
> > I think this is what you need
> > 
> > var WindowList: Pointer ;
> > begin
> >     WindowList := DisableTaskWindows(Form2.Handle) ;
> >     ProcessThatUpdatesForm2WithProgressInfo;
> >             EnableTaskWindows(WindowList) ;
> > end ;
> 
> Hi Jason, thanks, this works a treat, but...  I find I can't actually
> select anything that's on that form now....  (theres a cancel button I
> want the user to be able to hit), any idea?

Actually, changing the form referenced in DisableTaskWindows() to my main
form, and not the one I want modal allows hitting the cancel button (or
escape) but I don't actually see any indication that it's been clicked
(like you don't see if being depressed).  Hmm.

-- 
Mark Derricutt

"People in prayer for me, everyone there for me, sometimes I feel I should
 face this alone, my soul exposed... It calm's me to know that I won't!"
 Dream Theater - Scarred
 
Now Playing: Moonspell - The Butterfly Efect

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to