View Issue Details

IDProjectCategoryView StatusLast Update
0006384Multi Theft Auto : San AndreasClientpublic2011-08-20 12:35
ReporterJohn_MichaelAssigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOS7OS Version64-bit
Product Version 
Target Version1.1Fixed in Version1.1 
Summary0006384: getCursorPosition() does not work unless showCursor() is used
Description

If the cursor is shown with guiSetInputEnabled(true), you can not get the cursor's position, even thought it is clearly being shown on the player's screen. It will only work if showCursor() is used.

Steps To Reproduce

local testWindow = guiCreateWindow(0, 0, 0.1, 0.1, "testWindow", true)
guiSetInputEnabled(true)

addEventHandler("onClientRender", root, function()
local cX, cY = getCursorPosition()
outputDebugString(tostring(cX).." "..tostring(cY))
end)

TagsNo tags attached.

Activities

Picard

2011-08-20 10:51

updater   ~~0014362

Issue automatically marked as fixed by mantisbot ( Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=3027 )

Issue History

Date Modified Username Field Change