unable to hide cursor/pointer over fullscreen figure

8 ビュー (過去 30 日間)
Kara Presbrey
Kara Presbrey 2021 年 4 月 9 日
コメント済み: Shadaab Siddiqie 2021 年 4 月 14 日
I have a fullscreen figure over which I am unable to hide the cursor unless I reduce the figure to "maximum" instead of "fullscreen"
What am I doing wrong?
% Create fullscreen figure
main_window = figure('Visible','on','units','normalized','outerposition',[0,0,1,1],...
'MenuBar','none',...
'DockControls','off',...
'NumberTitle','off',...
'Name','DSP',...
'color','w',...
'WindowState','fullscreen',...
'UserData',struct(),...
'Tag','DSP_Task_main_window');
% hide cursor
set(main_window, 'Pointer', 'custom', 'PointerShapeCData', NaN(16,16))

回答 (1 件)

Shadaab Siddiqie
Shadaab Siddiqie 2021 年 4 月 12 日
Form my understanding you want to hide cursor in Fullscreen WindowState. I have tried to replicate this issue and in my case, I see it working fine (hiding cursor in Fullscreen). In your case make sure you are not running any applications which add overlay over your screen.
  3 件のコメント
Kara Presbrey
Kara Presbrey 2021 年 4 月 13 日
As soon as I start the file, it goes into fullscreen and hides the cursor for about half a second, but then it shows up again, even if I don't touch or move anything
Shadaab Siddiqie
Shadaab Siddiqie 2021 年 4 月 14 日
I have used the same code that you have mentioned above, and for me the cursor is not visible at all (even if I wait for really long time). I am using windows 10. Which OS are you using?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by