home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!cert!netnews.upenn.edu!netnews.noc.drexel.edu!king.mcs.drexel.edu!queen.mcs.drexel.edu!udrubini
- From: udrubini@mcs.drexel.edu (Arthur Dent)
- Newsgroups: comp.sys.mac.programmer
- Subject: Double Update
- Message-ID: <1993Jan21.051256.18497@mcs.drexel.edu>
- Date: 21 Jan 93 05:12:56 GMT
- Sender: udrubini@mcs.drexel.edu (Arthur Dent)
- Distribution: na
- Organization: Drexel University
- Lines: 19
-
-
- I have a dialog box, in which I need several EditText fields, as well as a
- background picture that can change at various different times. I handle
- drawing the picture myself, since putting it in the DITL either causes the
- picture to display overtop the text fields, or it intercepts all the mouse
- clicks.
- What my problem is that I want the dialog to open up with the default value
- in the first text field highlighted. I call SelIText before entering my
- event loop. The text boxes are then drawn, then overdrawn by the picture, then
- redrawn. However, if I omit the SelIText line, the picture appears, then the
- text boxes appear on top (my desired effect).
- If you can help, or need more specifics, either post here or e-mail me at
- the address(es) below. Thanks.
-
- --
- Dave Rubinic +----------------------------------+
- -> rubinidf@dunx1.ocs.drexel.edu | Time flies like an arrow, |
- -> udrubini@mcs.drexel.edu | but fruit flies like a banana. |
- -> DaveR9@aol.com +----------------------------------+
-