Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!haven!uvaarpa!mcnc!ece-csc!hwa From: hwa@ece-csc.UUCP (George Hwa) Newsgroups: comp.windows.x Subject: help with callbacks Summary: passing parameters to a callback Keywords: callbacks, Athena widgets. Message-ID: <4006@ece-csc.UUCP> Date: 10 Apr 89 20:45:24 GMT Reply-To: hwa@ece-csc.UUCP (Russ Cook) Distribution: usa Organization: North Carolina State University, Raleigh, NC Lines: 17 I am working on an application using the X Toolkit and the Athena Widgets. I need a little help with passing parameters to a callback function. My application uses multiple windows. I have a single main menu that controls all the windows. Several of my menu operations perform certain operations on one of the windows. I use a pop up menu to choose the window I want to use. I want to have a single callback for all of the windows. My problem, after I have selected the window from the menu, how can I pass that window id to the callback function. Any help would be greatly appreciated. Thanks in advance. Russ Cook NC State University hwa@ece-csc.ncsu.edu