Article View: comp.sys.mac
Article #23923Question about Control drawing...
From: Michael Domino
Date: Fri, 15 Jan 1988 18:00
Date: Fri, 15 Jan 1988 18:00
18 lines
1432 bytes
1432 bytes
I have this large and involved dialog box with about 50 items, static text,
editable text, buttons, check boxes, the works. It works just fine, but
the trouble is it gets drawn in a strange way: all the controls show up,
then there is a pause of about three seconds before any of the static text
is drawn. This is a very awkward pause, annoying to a user. Inside Mac
mentions this problem, in volume one, page 412: "NewDialog generates
an update event for the entire window contents, so the items aren't drawn
immediately, with exception of controls...If you find that the other items
aren't being drawn soon enough after the controls, try making the window
invisible initialy and then calling ShowWindow to show it." This does not
seem to work. Does anyone have a suggestion for getting the whole thing
to show up all at once?
Michael Domino @ SUNY/Buffalo
internet: domino@cs.buffalo.edu
uucp: ..!{rutgers,watmath,boulder,decvax}!sunybcs!domino
BITNET: domino@sunybcs.BITNET phone: 716-881-6420
Technical Details
Message-ID:
<7845@sunybcs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sunybcs!dominoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sunybcs!domino From: domino@sunybcs (Michael Domino) Newsgroups: comp.sys.mac Subject: Question about Control drawing... Message-ID: <7845@sunybcs.UUCP> Date: 15 Jan 88 18:00:56 GMT Sender: nobody@sunybcs.UUCP Reply-To: domino@sunybcs.UUCP (Michael Domino) Distribution: na Organization: SUNY/Buffalo Computer Science Lines: 18