SetCursorPos in wxWidgets

SetCursorPos in wxWidgets

本文关键字:wxWidgets in SetCursorPos      更新时间:2023-10-16

我用Visual c++编码,我使用wxwidget 3.x.,Windows 10

我想使用 SetCursorPos(移动我的相机,让鼠标光标停留在屏幕中间(,但我收到一些错误消息:

canvas.obj : error LNK2019: unresolved external symbol __imp__SetCursorPos@8 referenced in function "public: void __thiscall CanvasFrame::setCursorPos(int,int)" (?setCursorPos@CanvasFrame@@QAEXHH@Z)

我不确定我可以通过 wwxwidget 使用 SetCursorPos,我认为 wxwidget 管理这个,但在谷歌上找不到它......

一些想法?

我的坏... this->WarpPointer(renderer->GetWidth((/2, renderer->GetHeight((/2(; 工程。。

无论如何,谢谢:)