home *** CD-ROM | disk | FTP | other *** search
- Path: norconnect.no!not-for-mail
- From: kenneth@norconnect.no (Kenneth C. Nilsen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Screen Problem in C.
- Date: 20 Jan 1996 06:18:18 +0100
- Organization: NorConnect Internet Services AS
- Message-ID: <1222.6593T260T330@norconnect.no>
- References: <DLE6wv.7FB@inter.NL.net>
- NNTP-Posting-Host: norconnect.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- >>if (screen->ViewPort.Flags & VP_HIDE)
-
- >I read another post implying this is not correct, can someone shed more
- >light on the subject? If this is ok it would be nice for fMSX's Quiet mode
- >(which only updates the screen when the user is looking at it - currently
- >this is determined by looking at window activation/deactivation messages; I
- >am not completely happy with it and this would be the ideal solution).
-
- The library base of the intuition library keeps information about among which
- screen is first (in front, which you're looking at) and which window is
- active.
-
- You can use this information in your programs, but to prevent the first
- screen to be changed before you use the data after read, you must lock the
- intuition base so that no one can change the current screen/window status.
- Do this by intuition.library/LockIBase(). Read the pointer to first screen in
- the intuition.library base (FirstScreen). Last, make a call to
- UnlockIBase(ibLock) to allow others to use the intuition as well.
-
-
-
- ---
- CREATIVE LINKS __ Kenneth C. Nilsen
- http://www.norconnect.no/~kenneth /_/\ e-mail: kenneth@norconnect.no
- "Everything you want" \_\/ Software & MultiMedia developer
-