home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!cbmehq!cbmden!hemmer!hemmer
- From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Need help opening a window on a custom screen.
- Message-ID: <hemmer.01cd@hemmer.adsp.sub.org>
- Date: 25 Jul 92 02:09:03 GMT
- References: <13g4lfINNo64@darkstar.UCSC.EDU>
- Organization: InterActivsion
- Lines: 37
-
- In article <13g4lfINNo64@darkstar.UCSC.EDU> smythe@cats.ucsc.edu
- (Brian Matthew Aljian) writes:
-
- >struct TagItem main_win_tags[] =
- > {
- > {WA_CustomScreen, main_screen},
- > ...etc...
- > {TAG_DONE, NULL},
- > };
-
- Declare your tagitem like this instead :
-
- struct TagItem main_win_tags [] =
- {
- WA_CustomScreen, (ULONG) main_screen,
- ...,
- TAG_DONE
- };
-
- You don't need a NULL after TAG_DONE, and you don't need to put extra
- {} pairs around each tagitem. If you are experiencing warnings during
- compile, typecast the ti_Data fields to (ULONG).
-
- >Thanks for any help!
-
- Welcome...
-
- > Brian M. Aljian
-
- --
- *-------------------------------------------------------------------------*
- | _ UseNet: (uunet|rutgers|pyramid)!cbmvax!cbmehq!cbmden!hemmer |
- | \\ _ CBMNET: hemmer@hemmer.adsp.sub.org |
- | InterActi\X/ision - The name of precision |
- | Best regards >> Carpe Diem! - Seize the day! << |
- | Franz Hemmer - Software Developer. |
- *-------------------------------------------------------------------------*
-