Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!sgihub!dragon!dragon!kittu From: kittu@shakti.wpd.sgi.com (Krishna Swaroop Kolluri) Newsgroups: comp.windows.x Subject: Re: C++ and X: Member-Functions as Callbacks Message-ID: Date: 10 Mar 91 11:26:57 GMT References: <1991Mar9.123358.14352@csn.org> Sender: news@dragon.wpd.sgi.com (CNews Account) Reply-To: kittu@sgi.com Organization: Silicon Graphics, Inc. Lines: 12 In-Reply-To: rink@tramp.colorado.edu's message of 9 Mar 91 12:33:58 GMT What you can do is to declare the callback as a friend function of the class. This fried function should take a pointer to the object of the class as argument which you can pass as client_data. Hope that helps! kittu.. -- ------- Krishna Swaroop Kolluri 9U-530 kittu@sgi.com Silicon Graphics, Inc. Off:(415)335-1859 Fax:(415)969-2314