Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!sun-barr!texsun!texbell!killer!lietb From: lietb@killer.DALLAS.TX.US (Tjeng-Bo Lie) Newsgroups: comp.sys.mac.programmer Subject: DialogManager's TEHandle & FileName Question Keywords: DialogManager, TextEdit, FileManager, Questions Message-ID: <8316@killer.DALLAS.TX.US> Date: 8 Jun 89 20:38:34 GMT Organization: The Unix(R) Connection, Dallas, Texas Lines: 23 Two questions to the net... 1. In processing a modeless dialog, how do I get some of the fields to come up right-justified? I've tried setting the (*textH)->just to teJustRight upon entry to that field, and set the destRect to be the same as the viewRect, but still I have some problem in the insertion bar not updated correctly. I've also tried TEAutoView and TESelView, to no avail. HELP!!! 2. How do I get the name of the application running? I'm trying to save some default parms in my application's Data Fork, and I don't want to tell my user NOT to change the name of the application. I know I can get the current resource file's refnum by calling CurResFile(), but how do I get to open my application's Data Fork if I'm not sure of the name? advTHANKSance. -- ******************************************************************************* * Compu$erve: 76344,3361 * UUCP: killer!lietb * * Delphi: TBLie * USnail: P.O. Box 740483, Dallas, Tx 75374 * *******************************************************************************