Additions:
HideCursor([screenid=0][, mouseid]
HideCursor hides the mouse cursor associated with screen 'screenid'.
By default, the cursor of screen zero on Linux, and all screens on
Windows and Mac OS/X is hidden. 'mouseid' defines which of multiple
cursors shall be hidden on Linux. The parameter is silently ignored
on other systems.
See ShowCursor, SetMouse
Deletions:
HideCursor
HideCursor.mex hides the cursor. Use ShowCursor to make it visible
again.
=== OS 9 ===
Flushing HideCursor.mex or [[Screen]].mex (eg "clear hidecursor", "clear
screen", "clear mex", or "clear all") makes the cursor visible, by a call
to InitCursor.
Note that the Mac OS counts the number of times you call HideCursor, and
requires an equal number of calls to ShowCursor before the cursor becomes
visible again. Excess calls to ShowCursor are ignored. (When [[Screen]]
closes its last window it calls InitCursor, which resets the count.)
HideCursor vs. QuickDEX: If you leave QuickDEX (the old address-book
desk accessory) running in the background while running Matlab, then
HideCursor.mex doesn't work. HideCursor returns normally, but the cursor
remains visible. This seems to be a bug in QuickDEX, but the program
hasn't been sold for many years, so an update is unlikely. The work
around is simply to quit QuickDEX before using HideCursor in Matlab.
WARNING: When BACKGROUNDING is enabled, Matlab shows the cursor
before executing each Matlab statement, even if you just called
HideCursor. So turn off BACKGROUNDING:
[[Screen]]('[[Preference]]','Backgrounding',0);
% Fast in Matlab 5.2.1, slow in earlier versions.
WARNING: When you run your Matlab code as a script, rather than as a
FUNCTION, it appears that Matlab shows the cursor before executing some
Matlab statements. So put the FUNCTION statement in the first line of
your M file. Thanks to Thomas Jerde <thomasjerde@hotmail.com> for
reporting this.
web http://groups.yahoo.com/group/psychtoolbox/message/1186;
See ShowCursor, CursorTest, [[Screen]] [[Preference]] Backgrounding.
Additions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychBasic/HideCursor.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychBasic/HideCursor.m?op=log">changelog</a> of trunk branch</span>
Deletions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychBasic/HideCursor.m">beta</a> | view in <a href=
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychBasic/HideCursor.m?view=markup">WebSVN with changelog</a></span>
Additions:
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychBasic/HideCursor.m?view=markup">WebSVN with changelog</a></span>
Deletions:
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychBasic/HideCursor.m?view=markup">WebSVN with changelog</a></span>
Additions:
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path </span> <span class="counter">Retrieve current version of HideCursor.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychBasic/HideCursor.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychBasic/HideCursor.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychBasic/HideCursor.m</code>
</div>
""
Deletions:
%%(php;Path)Psychtoolbox/PsychBasic/HideCursor.m%%
Additions:
==[[Psychtoolbox]] › [[PsychBasic]]==
Deletions:
==[[Psychtoolbox]] › PsychBasic==
Additions:
==[[Psychtoolbox]] › PsychBasic==
=== OS 9 ===
Flushing HideCursor.mex or [[Screen]].mex (eg "clear hidecursor", "clear
visible again. Excess calls to ShowCursor are ignored. (When [[Screen]]
[[Screen]]('[[Preference]]','Backgrounding',0);
----
See ShowCursor, CursorTest, [[Screen]] [[Preference]] Backgrounding.
%%(php;Path)Psychtoolbox/PsychBasic/HideCursor.m%%
Deletions:
==PtbReference › PsychBasic==
OS 9: ___________________________________________________________________
Flushing HideCursor.mex or Screen.mex (eg "clear hidecursor", "clear
visible again. Excess calls to ShowCursor are ignored. (When Screen
Screen('Preference','Backgrounding',0);
_________________________________________________________________________
See ShowCursor, CursorTest, Screen Preference Backgrounding.
PsychBasic
Additions:
===[[HideCursor]]===
==PtbReference › PsychBasic==
Deletions:
===PsychBasic===