Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!maverick.ksu.ksu.edu!hoss!fergvax!252u3129 From: 252u3129@fergvax.unl.edu (Mike Gleason) Newsgroups: comp.sys.mac.programmer Subject: WDEF Question Message-ID: <252u3129.660984232@fergvax> Date: 12 Dec 90 06:43:52 GMT Sender: news@hoss.unl.edu (Network News Administer) Distribution: comp Organization: University of Nebraska - Lincoln Lines: 19 I have decided that I want to write a custom window definition. But first, I grabbed an existing WDEF resource (a Windoid WDEF in Think C's Art Class project to be exact) and all I want to do for the time being is put up a window using the windoid. I could have sworn I used to be able to write w = NewWindow(0L,&rekt,"\pBlah",isVisible,ProcID,-1L,hasGoAway,refcon); where ProcID is the resource ID of my WDEF (the Windoid's is 200). Why does one of the plain jane default WDEFs appear as my window instead of the windoid? My project.rsrc file DOES have the WDEF inside it, and my quick hack program that is trying to put up the window verifies this. It seems like the procID is more like a varCode rather than a WDEF resource ID. Any help graciously accepted! --mike gleason *** *** mike gleason <252u3129@fergvax.unl.edu> *** "It's Hammer time... NOT!" -- Anthrax *** .signature randomizer 1.0 * write for free c source