Article View: comp.sys.amiga.tech
Article #12116Re: SetFunction
From: Robert R. Burns
Date: Wed, 05 Apr 1989 17:36
Date: Wed, 05 Apr 1989 17:36
19 lines
1089 bytes
1089 bytes
In article <518@hvrunix.UUCP> ahinds@hvrunix.UUCP (Alexander Hinds) writes:
>
> Can anybody tell me how to use SetFunction()? ...
>
> SetFunction(IntuitionBase,(long)-60,&MyFunction);
>I used -60 because it is DisplayBeep() offeset.(I think).
er, why mess with numbers?
extern int LVODisplayBeep;
SetFunction(IntuitionBase, &LVODisplayBeep, &MyFunction);
and link with amiga.lib
--
Bob Burns, amiga!kodiak _
| /_ _|. _ | Commodore __ |_) _ |_ _ )'
|<(_)(_)|(_\|< /\ | ||| _` /\ |_)(_\| )(_\ |
| \ Software ___/..\|\/|||__|/..\___ Faith
Technical Details
Message-ID:
<3717@amiga.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!kodiakReferences:
<518@hvrunix.UUCP> <946@applix.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!kodiak From: kodiak@amiga.UUCP (Robert R. Burns) Newsgroups: comp.sys.amiga.tech Subject: Re: SetFunction Keywords: can't get it work Message-ID: <3717@amiga.UUCP> Date: 5 Apr 89 17:36:10 GMT References: <518@hvrunix.UUCP> <946@applix.UUCP> Reply-To: kodiak@tooter.UUCP (Robert R. Burns) Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 19