----boundary-LibPST-iamunique-752277840_-_-
Content-type: text/plain
Andrew,
the attached example program illustrates how you can intercept a window's
close action.
Note however that this uses a private BlackBox interface that is used by the
framework internally. If you really want to use it, you should isolate its
client code as much as possible since the mechanism might be subject to
change in future versions of the framework.
Cheers,
Marc
Oberon microsystems, Inc.
StdCoder.Decode ..,, ..4T....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
7.2.s,sGD.,6.5Qw7uP51QCPuP7PNN9F9vQAy1xB.gdj,UBxhYhAbf9P0G2sIdvPZntgcghghZ
cZRC8T0E.kAP.H.Xg,2.,U08J99SdfJHPNjvQCJuGKfaqmY6MwdONl1QCh0708T,U..w.Qb4.,
sUGpmWbBxhYhAbndMHT9NY6Mw.sQq2Y6cwB.0.98,w,gb2E.0.oY,U00.bnUGLu8ro8quGrmCL
WKqtE0E.kHE.0.p.0.4.0EJYjyC.6.VQ.kF5.1cUZT1E.696.c4E.k.Ue.4.072UD,D,3cUZT1
E.6C6.c4E.k.Ue.0.,6j3.aU.kfF.0.Cp69UPoZ0cUXDF9fR5uPPPP1fP7PNZvQRtIdHf.2Ulb
cZpC.c9h0E.8z,U...B.0UJUHUzjdDZcJZd33YEJidpi1ZhjRiZRbBgV7AdB3eDJeI3YHhglhi
ZphXhgmRig2Y2BhVZhjxgg2YKBhZtQN76b8R7PEVPOrN1PEeaJcKo4ak2CIqyqtodjZidpgdhg
m3Yx2YExd7pdIhcG3YIxdUIe3RcDJe23YcQeZBC.RdHT9RH1aGEKIbGoRqk4aEf4Idqk2akleH
ECIqyqt.kRqk4aEc8pbCoWGoe8pW0GICKR0mV..aWCxhoBBn96FdJ1eI,NPbvNp76bONX1UBhg
nRiVxgZBZvgV7AVKB6,dQ9vQp76HeHdOFDOFZuCPM03OFDOGRO1HM0jOGd8G,NPbvN..CIqy4P
uQD967uHPM0HM07OO19PoZ5hgoxd93ZWYcj3Ytxhp3YmhgVZhgBjUIiZ,SrkuKu0GuyKEKKwaK
uyHFmGE8GFmGE80UvZcdBggVthgnZZUY6UixhxZZUIiZRidQbBA,qqtSKLCLuaqliqw0GRqHE8
rmCLEqHEGoo44EEWGJ0GuWqoCLEOKq4qn0GmKqlaKmKqt0mvWqmGLoKKt0GuWqm0mvaKrGqrSL
EGrr0GlKKECKqy4796b9OTPRN9N,tQdPMn96T9Q9fP,tPZ96RvPd96JN8PM0HMFNuI9O1HM0uI
Wqk2KIb2YCxhoVvgVB..yIsKKr4IlyquGLJin4ak2O3OLR0Gfaqmc9sRrN1HcE.CJuGqUc9T8Q
9HeyqrmKWaqkEI8mdartGrmqqL8pt8rlymU8qrKbWYZUIY,JgjFE8Iq4qliKVyKw8GK0GvamRq
k2oiiYcjhhVBhi3ZdoZ5hgoReZBCUcAZcQeZBCUnpZHhglhCkIumYuqtGrkmKquorG5HHtWmla
m4akWu2T8Q9nUUvgVBIc3x6cH9uJFtMHN19eH7Gc8ro.um4qk48Ec8roO5kb05U0CyI7SCoruK
u8rrmKqKKtCLLYC58RZ9P7ONbvM,Mwd0.UiQcjpho,YcZRiX3.5011Z1cQ...sQR,.G20EtH.0
.G,0.a.0E..k.8ssHpmcIf9P9fQbf9bWGhigFWE.4Te.sQRdIf9P9HWE.8z,E.0.L3D.5B.2U.
sUG3.bf9bWHZitZhZZcZRC,Mw.ELMSN12Umz.6..F6.I96.IE.EL4Iu.6F9nl0U2U...G00k.0
.0.0mFfZ.E.mLT5UTyB4.4.0E.cUZT1E..UO.,.1.e0xZ.E.0t.U..61lbAUgQnPt0lLU8ssHo
rMPU1xB..8,2..606.k22.WqlCbIgZX8Utj00MyfUcrgc7ZV7a.ml,...
--- end of encoding ---
> -----Original Message-----
> From: Thomas, Andrew [mailto:andrew.thomas{([at]})nowhere.xy> Sent: Mittwoch, 26. November 2003 09:15
> To: 'blackbox{([at]})nowhere.xy> Subject: not closing an application
>
>
> Hei Oberon People,
>
> is there a simple way of making a modal dialog box appear
> when you try and
> quit an application asking do you really really want to exit.
> I am thinking
> of say a simulation application that has been running for hours.
>
> Regards
>
> Andrew
> --------------------------------------------
>
> To unsubscribe from this mailing list, send a message
> containing the word "unsubscribe" to:
> blackbox-request{([at]})nowhere.xy>
> To get a list of valid e-mail commands and instructions on
> their usage, send a message containing the word "help" to the
> above address.
>
> Send any problem reports or questions related to this email
> list to the list owner at
> owner-blackbox{([at]})nowhere.xy>
> Current posting policy:
>
> a) To post you should use the same address by which you are
> subscribed to the mailing list. That way, the list server
> will recognize you as subscriber and forward your posting
> immediately, without creating any overhead.
>
> b) If, for some reason, you cannot post from the address, by
> which you are subscribed, your message will be moderated to
> avoid spam. Please understand that moderation will often
> cause some delay, in particular over weekends or holydays.
>
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-752277840_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWV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