Re: Display "Search in progress message" with threading
From: Drebin (thedrebinNoSpam_at_hotmail.com)
Date: 03/25/04
- Next message: Ying-Shen Yu[MSFT]: "Re: Problems supporting Windows XP themes"
- Previous message: Marc Scheuner [MVP ADSI]: "Re: tree view"
- In reply to: Elp: "Re: Display "Search in progress message" with threading"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Mar 2004 13:19:58 GMT
Oh! Well in that case, just connect asynchronously!!
"Elp" <rockfamily@REMOVEME.hotmail.com> wrote in message
news:ep2KELeEEHA.2908@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> "Drebin" <thedrebinNoSpam@hotmail.com> wrote in message
> news:fAk8c.28434$Fc5.4616@newssvr31.news.prodigy.com...
> > In that case, I'd have a member function called like bool CheckCancel()
> and
> > at good "stopping points" in your long process, you'd periodically check
> for
> > cancel.
>
> what if there is no way to have stopping points? E.g. if the lengthy
> operation performed in the new thread is simply an attempt to connect to a
> remote computer (which can take sevral seconds or dozens of seconds)? I
> actullay think that there is no proper solution in that case (look at how
> outlook handles that... it doesn't: its UI is frozen while it's trying to
> connect to mail server, very frustrating) but if somebody has the magical
> trick for that...
>
>
- Next message: Ying-Shen Yu[MSFT]: "Re: Problems supporting Windows XP themes"
- Previous message: Marc Scheuner [MVP ADSI]: "Re: tree view"
- In reply to: Elp: "Re: Display "Search in progress message" with threading"
- Messages sorted by: [ date ] [ thread ]