Skip navigation.
 
mlRe[2]: Action-cancelling dialog box
FROM : ?????? ??????
DATE : Fri Dec 24 13:27:23 2004

Okay. I've maken a window with a single <Cancel> button in IB and when opened it as a modal window. But it stopped all backround process!!!
Then I tried to open this modal window in a separate thread. It works all right - doen't stop background process, but here're another problem:

- the button on the dialog box doesn't work until the backgound process is completed. It's bad! What I need is to be able to press the button while the process is going and cancel it.

What should I do to make the button work?? That's the only problem left...


> I usually use NSRunAlertPanel(), it's a single function that presents a
> modal dialog.
>
> Ken
>
> On Dec 23, 2004, at 12:07 PM, David Dunham wrote:
>
> > On 23 Dec 2004, at 08:00, $B'#'Z'\'d'`'b(B $B'"'`'b'k'Q'\(B wrote:
> >
> >> Can somebody tell me how to make a dialog box like in iTunes when it
> >> imports new tracks. That is small window which disables all
> >> application except of the <Canel> button while the application does
> >> some actions.
> >>
> >> As far as I can understand this dialog box is programmatically
> >> created and I don't need to design it it Iterface Builder. (I would
> >> be stupid to make in in IB for every other situation like this...)
> >
> > Perhaps something like CreateStandardAlert, and then RunStandardAlert
> > to run it modally?
> >
> > David Dunham    A Sharp    <email_removed>
> > Voice/Fax: 206 783 7404    http://a-sharp.com
> > Efficiency is intelligent laziness.
> >
> > _______________________________________________
> > MacOSX-dev mailing list
> > <email_removed>
> > http://www.omnigroup.com/mailman/listinfo/macosx-dev
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>

Related mailsAuthorDate
mlAction-cancelling dialog box ?????? ?????? Dec 23, 17:00
mlRe: Action-cancelling dialog box David Dunham Dec 23, 18:07
mlRe: Action-cancelling dialog box Ken Anderson Dec 23, 18:52
mlRe: Action-cancelling dialog box Phil Dec 24, 06:53
mlRe[2]: Action-cancelling dialog box ?????? ?????? Dec 24, 13:27
mlRe: Re[2]: Action-cancelling dialog box Markus Hitter Dec 24, 14:15
mlRe[4]: Action-cancelling dialog box ?????? ?????? Dec 24, 14:49