Xref: utzoo comp.windows.x:28038 alt.sys.sun:1632 Path: utzoo!utgpu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!hsu From: hsu@eng.umd.edu (Dave "bd" Hsu) Newsgroups: comp.windows.x,alt.sys.sun Subject: Re: OpenWindows and WM_COMMAND? Keywords: Save Screen Message-ID: <1990Oct9.023620.17172@eng.umd.edu> Date: 9 Oct 90 02:36:20 GMT References: <546@spot.wbst128.xerox.com> Sender: news@eng.umd.edu (The News System) Organization: Smurfbusters! Lines: 28 In article <546@spot.wbst128.xerox.com> stein@spot.wbst128.xerox.com (Adam Stein) writes: >... I thought I would whip up an X >version of Sunview's toolplaces ... >Now comes the problem. WM_COMMAND is set only for a public domain program >I have (calctool). For OpenWindow's programs (clock, shelltool, perfmeter) >WM_COMMAND isn't set. Does anybody know of a way I can find out what command >was executed with which window? I tried emailing you directly, but nslookup can't resolve your address, xerox.com (at PARC) can't either, and following the mail path backwards (uhura.cc.rochester.edu!rochester!spot!spot.wbst128.xerox.com!stein) died when rochester didn't know who spot was. Y'all need to do something about your mail address. I believe the answer to your problem lies in the ICCCM...it includes a convention for reporting exactly this sort of information, and the Open- Windows tools are supposed to be ICCCM compliant. The main problem I see with this idea is that some popular X clients (who shall remain nameless but whose initials are x.t.e.r.m.) are notoriously non-compliant, so you'll probably have to combine techniques. -dave -- Dave Hsu Systems Research Center, Building 115 (301) 405 6594 hsu@eng.umd.edu The Maryversity of Uniland, College Park, MD 20742-3311 "A book?" "That's right. When I was your age, television was called books. This is a special book..."