Lisp HUG Maillist Archive

CAPI display vs. display-dialog

Hi,

does anybody know if it is possible to decide wether an interface has been
created by a call to DISPLAY or to DISPLAY-DIALOG.

I have an interface which can be invoked both ways. If invoked by
DISPLAY-DIALOG it exits via EXIT-DIALOG or ABORT-DIALOG, if invoked by
DISPLAY I use QUIT-INTERFACE.

At the moment I keep track of the invocation myself. Would be nice if I
could use some built in value.

Any hint/knowledge?


Andreas


Re: CAPI display vs. display-dialog

Hello Andreas,

| Hi,
|
| does anybody know if it is possible to decide wether an interface has
| been created by a call to DISPLAY or to DISPLAY-DIALOG.
|
| I have an interface which can be invoked both ways. If invoked by
| DISPLAY-DIALOG it exits via EXIT-DIALOG or ABORT-DIALOG, if invoked by
| DISPLAY I use QUIT-INTERFACE.
|
| At the moment I keep track of the invocation myself. Would be nice if I
| could use some built in value.
|
| Any hint/knowledge?

In my observation, (CAPI::CURRENT-DIALOG) returns NIL if the interface was
invoked via DISPLAY.
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru


Updated at: 2020-12-10 08:46 UTC