home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!doc.ic.ac.uk!uknet!mcsun!news.funet.fi!funic!nntp.hut.fi!cs.hut.fi!aleskine
- From: aleskine@cs.hut.fi (Arto Leskinen)
- Newsgroups: comp.sys.mac.programmer
- Subject: Complex window and popup v
- Message-ID: <ALESKINE.92Nov9221258@cardhu.cs.hut.fi>
- Date: 9 Nov 92 20:13:02 GMT
- Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
- Distribution: comp.sys.mac.programmer
- Organization: Helsinki University of Technology, Finland
- Lines: 37
- Nntp-Posting-Host: cardhu.cs.hut.fi
-
- I have window with two popups, some static text and some buttons. Is this
- best done by program, or should I use window/dialog resourse for this.
- Of course I want that my window works on background. (Modeless?)
-
- What is easiest way to make up popup with down arrow on it? I do not want
- to use menu resourse, because I do not know on startup time how many and
- which items I have in menu. If someone has example code on think C I would
- appreciate.
-
- Can a program use code resources of different files? How?
-
- My window has similar look than finder's. So I do not want scrollbars all the
- way. And I do not want line that goes up. Is there any way to stop drowing on
- update?
-
- -so I want following:
- ____________________________________________________
- |=[ ]=============== Window ==================F]=|
- |--------------------------------------------------|
- | |Calendar v| |Tools||v| Widowfile |
- |==================================================|
- | Window contents ... |/\|
- | ... |--|
-
- but I get:
- ____________________________________________________
- |=[ ]=============== Window ==================F]=|
- |--------------------------------------------------|
- | |Calendar v| |Tools||v| Widowfile | | Here!
- |==================================================|
- | Window contents ... |/\|
- | ... |--|
- Now I draw white line on top of irritating line, but user has enough time to
- see black line flashing before I remove it.
-
- Arto Leskinen
- aleskine@cs.hut.fi
-