Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: SetCursorPos  (Read 9103 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 0.037 seconds with 21 queries.