Article # 146, added by Geoworks, historical record
| first | previous | index | next | last |

How to intercept dialog close message.




Section 7.4.2 Dismissing Interactions in the Objects manual covers
how to intercept the MSG_GEN_GUP_INTERACTION_COMMAND message. This
message is sent when the dialog is being closed either through
system control or by a user response.

For instance, if you have a dialog with several different triggers
and the user can click on any one of these, you might want to
intercept this message to see which button was pressed. You can also
use it to see if the dialog is being shutdown. This occurs when the
application is told to shutdown by the system. The InteractionCommand
value will be IC_NULL.