Please login or register.

Login with username, password and session length
Advanced search  

News:

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

Author Topic: SetCursorPos  (Read 1548 times)

0 Members and 1 Guest are viewing this topic.

VEn0m

  • 85 lvl elf
  • Lurker
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 30
  • Live & Learn, Блеать!
    • View Profile
SetCursorPos
« 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

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

Page created in 1.046 seconds with 18 queries.