Blitz (86/119)

From:Daniel Dundelski
Date:20 Jun 2001 at 21:53:04
Subject:Odp: UnActive

----- Original Message -----
From: David McMinn <D.Mcminn@eee.rgu.ac.uk>
To: <blitz-list@netsoc.ucd.ie>
Sent: Tuesday, June 19, 2001 9:40 PM
Subject: Re: UnActive

> ; Checks if the currently used screen is at the front or not.
Returns -1
> ; for when the screen is not at the front, 0 if the screen is at the
> ; front or 1 if the screen is at the back (and I mean back)
> Function.w MyScreenAtBack{}
> x.w=0
>
> *scr.Screen = Peek.l(Addr Used(Screen))
>
> ibl.l=LockIBase_(0)
> *ib.IntuitionBase = IntuitionBase ; from Elmore libraries
> *ptr.Screen = *ib\FirstScreen
> If *scr<>*ptr
> x=-1
> While *ptr\NextScreen
> *ptr = *ptr\NextScreen
> Wend
> If *ptr=*scr Then x=1
> EndIf
> UnLockIBase_ ibl
> End Function
>
> NB: I haven't tested this

When I tried to use this function I get error "Type not found". I have
AmigaLibsII.res in compiler options. What is missing?
Redgards
Daniel



Chcialbys zarobic lub "dorobic" naprawde dobre pieniadze?
Otrzymasz do 300zl za kazda firme ktora wprowadzisz do Centrum e-biznesu
Poszukaj wsrod znajomych, znajdz firme i wypelnij z nia prosty formularz
Aby rozpoczac wejdz do http://praca.getin.pl i zostan Partnerem Getin

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie