Incorrect cursor position after resize the rendering window
Posted: Thu Nov 16, 2006 20:22
Hello,
When I resize my rendering windows, the CEGUI cursor position become different than the actual mouse position. I am using the DirectX9 render, and don't know if I forget to initialize anything. I have test the samples which come with the SDK, and all of them work fine when I resize the rendering windows. I have checked the forum and I find out that someone have the same problem long time ago
http://www.cegui.org.uk/phpBB2/viewtopic.php?t=755&start=0&postdays=0&postorder=asc&highlight=resize
and I try to use the same method to resolve the problem but I found out that some of the functions are obsoleted already. Can anyone give me some ideas about this? Thanks!
When I resize my rendering windows, the CEGUI cursor position become different than the actual mouse position. I am using the DirectX9 render, and don't know if I forget to initialize anything. I have test the samples which come with the SDK, and all of them work fine when I resize the rendering windows. I have checked the forum and I find out that someone have the same problem long time ago
http://www.cegui.org.uk/phpBB2/viewtopic.php?t=755&start=0&postdays=0&postorder=asc&highlight=resize
and I try to use the same method to resolve the problem but I found out that some of the functions are obsoleted already. Can anyone give me some ideas about this? Thanks!