monching@quiche.cs.mcgill.ca (Patrick WONG) (07/18/90)
Does anyone know how to access the system global WindowList in Think
Pascal 3.0? It does not seem to be defined.
Please reply be e-mail. Thanks.
--
patrick wong | McGill University
monching@quiche.cs.mcgill.ca | School of Computer Science
| Montreal, Quebec
siegel@endor.harvard.edu (Rich Siegel) (07/18/90)
In article <3737@quiche.cs.mcgill.ca> monching@quiche.cs.mcgill.ca (Patrick WONG) writes: >Does anyone know how to access the system global WindowList in Think >Pascal 3.0? It does not seem to be defined. 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. R. ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel "I have been known, on occasion, to howl at the moon." ~~~~~~~~~~~~~~~
monching@quiche.cs.mcgill.ca (Patrick WONG) (07/19/90)
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