Path: utzoo!attcan!uunet!clyde.concordia.ca!mcgill-vision!quiche!monching From: monching@quiche.cs.mcgill.ca (Patrick WONG) Newsgroups: comp.sys.mac.programmer Subject: Re: accessing system global in TP 3.0 Keywords: Think pascal windowlist Message-ID: <3753@quiche.cs.mcgill.ca> Date: 19 Jul 90 02:34:59 GMT References: <3737@quiche.cs.mcgill.ca> <3520@husc6.harvard.edu> Reply-To: monching@quiche.cs.mcgill.ca (Patrick WONG) Organization: SOCS, McGill University, Montreal, Canada Lines: 21 In article <3520@husc6.harvard.edu> you write: > > SysEqu.p has all of the low-memory globals defined in it, including >WindowList ($9D6). I recommend using the FrontWIndow function to return >a pointer to the frontmost window. > Thanks Rich, I can't use FrontWindow, cuz I have to implement a floating window in a multi-window app. It kind of screwy in Think pascal's debug mode. Think adds some of it's window in the window list. I think I have bitten off more than I can chew. Looks like I have to rewrite FrontWindow and SelectWindow and handle activate and hiliting on my own. (argh!) -- pat -- patrick wong | McGill University monching@quiche.cs.mcgill.ca | School of Computer Science | Montreal, Quebec