在这里找到了隐藏鼠标的可用方案: https://codebus.cn/yangw/set-cursor-style
有同样问题的朋友可以参考一下
不过我更想弄明白的是为什么ShowCursor不能起作用,希望有大佬能解答一下。
————————————————————————————————————————————————————————————————
如题,ShowCursor(FALSE) 并不能隐藏光标。
#include <easyx.h>
#include <conio.h>
int main() {
initgraph(640, 480);
ShowCursor(FALSE);
_getch();
closegraph();
return 0;
}
循环多次调用也并不能起作用
使用Visual Studio 2019编程