我正在开发DX11游戏,我想在全屏模式下将光标剪切到全屏窗口。我用这个方法voidMyClass::_SetupCursor(BOOLbFullscreen){//Clipcursorifrequestedif(bFullscreen){if(m_bShowCursorWhenFullscreen){ShowCursor(m_bShowCursorWhenFullscreen);}if(m_bClipCursorWhenFullscreen){//ConfinecursortofullscreenwindowRECTwindowRect;GetWindowRect(m_hWnd,&wi