Article View: comp.sys.mac
Article #23182Re: Control Panel Bug?
From: Rich Siegel
Date: Mon, 28 Dec 1987 14:16
Date: Mon, 28 Dec 1987 14:16
23 lines
1541 bytes
1541 bytes
In article <9948@ut-sally.UUCP> brian@ut-sally.UUCP (Brian H. Powell) writes:
> SetCursor(*watch_cursor_hdl); /* in C */
>
> But what if the cursor relocates while the watch is being displayed? I
>guess the question is, "Does SetCursor make a copy of the cursor and use that,
>or does it use the actual cursor that it's given?" If it's the latter, I'll
>have to copy the cursor into a non-relocatable block of memory and use it
>there. What a waste.
>
Strictly speaking, this could (and probably will) break in the future,
sometime, but for now it's probably safe. If I had to guess I'd say that
SetCursor will copy the cursor and use CopyBits to stamp its image on
the screen.
Some offical commentary might be useful here.
--Rich
**The opinions stated herein are my own opinions and do not necessarily
represent the policies or opinions of my employer (THINK Technologies).
* Richard M. Siegel | {decvax, ucbvax, sun}!harvard!endor!singer *
* Customer Support | singer@endor.harvard.edu *
* Symantec, THINK Technologies Division. (No snappy quote) *
Technical Details
Message-ID:
<3670@husc6.harvard.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singerReferences:
<9931@ut-sally.UUCP> <3646@husc6.harvard.edu> <9948@ut-sally.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singer From: singer@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac Subject: Re: Control Panel Bug? Message-ID: <3670@husc6.harvard.edu> Date: 28 Dec 87 14:16:08 GMT References: <9931@ut-sally.UUCP> <3646@husc6.harvard.edu> <9948@ut-sally.UUCP> Sender: news@husc6.harvard.edu Reply-To: singer@endor.UUCP (Rich Siegel) Organization: THINK Technologies, Bedford, MA Lines: 23