Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: grape@tecnet1.jcte.jcs.MIL Newsgroups: comp.windows.x Subject: Callbacks on widget destruction Message-ID: <9102060313.AA09382@tecnet1.jcte.jcs.mil> Date: 6 Feb 91 03:13:17 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 13 I this this landed in a wrong place and has not been on the list yet. ----------------------------Original message---------------------------- I am looking for a way to add a callback to a dialog widget that is closed by double clicking on or choosing "close" off the menu button on the upper left corner of a motif window. I tried using the "XtDestroyCallback", but it doesn't cause a callback. I suspect it is because closing a window in the above fashion is done with the window function f.kill. Anybody have a solution to this problem? Mike Grapevine grape%tecnet1.jcte.jcs.mil@wsmr-simtel20.army.mil