Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.programmer Subject: Re: WBench question Message-ID: <1991Feb9.060614.3220@sugar.hackercorp.com> Date: 9 Feb 91 06:06:14 GMT References: <1991Feb7.080124.27836@zorch.SF-Bay.ORG> Organization: Sugar Land Unix -- Houston, TX Lines: 11 In article <1991Feb7.080124.27836@zorch.SF-Bay.ORG> mike@zorch.SF-Bay.ORG (Mike Smithwick) writes: > I can get the name of the application easiliy enough via > WBenchMsg->sm_ArgList->wa_Name, but I need the name of the icon to get the > projects own ToolTypes array. Otherwise I only get the ToolTypes from the > tool icon. WBenchMsg->sm_ArgList[1].wa_Name? (actually, you need .wa_Lock as well to know where to find wa_Name). -- Peter da Silva. `-_-' .