Please login or register.

Login with username, password and session length
Advanced search  


Forum rules - please read before posting, it can save you a lot of time.

Author Topic: SetCursorPos  (Read 6563 times)

0 Members and 1 Guest are viewing this topic.


  • 85 lvl elf
  • Lurker
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 30
  • Live & Learn, Блеать!
    • View Profile
« on: October 19, 2012, 06:49:51 PM »

As usual, I'm stuck and need some help from the community :) Here is the situation: game is launching in a window and the position of the mouse cursor on every launch becomes 0,0. I found that it is becomes such after ::ShowWindow(hWnd, nCmdShow) executes. I tried ::SetCursorPos(PosX+g_MinWidth/2,PosY+g_MinHeight/2), but nothing happened. Any ideas how to fix this?  ::slug

« Last Edit: October 20, 2012, 02:10:29 PM by VEn0m »

Page created in 0.019 seconds with 19 queries.