Results 1 to 6 of 6

Thread: SetCursorPos

  1. #1

    Thread Starter
    Lively Member markwel's Avatar
    Join Date
    Jan 2001
    Location
    Chennai, India
    Posts
    104
    Friends,

    I like to know the statistics of Window pixels.

    Width Pixels, Height Pixels.

    I like to set my mouse cursor at a Particular Position. I think SetCursorPos will use for this. How?

    Thanx in advance.
    Soma Sundaram R
    3/480, Lakshmana Perumal Street
    Kottivakkam
    Chennai, India

    [email protected]
    http://somasundaram.cjb.com
    Develop Your Own Browser-->http://www.vbsquare.com/internet/browser/

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Code:
    Private Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
    
    SetCursorPos xpos, ypos
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Lively Member markwel's Avatar
    Join Date
    Jan 2001
    Location
    Chennai, India
    Posts
    104
    Thank you. But Pixels?

    How can I understand which is X,Y?
    Soma Sundaram R
    3/480, Lakshmana Perumal Street
    Kottivakkam
    Chennai, India

    [email protected]
    http://somasundaram.cjb.com
    Develop Your Own Browser-->http://www.vbsquare.com/internet/browser/

  4. #4
    Guest
    The 1st argument is X, and the 2nd argument is Y.

  5. #5
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    This is off subject, but MEGATRON, how many posts did you have before you got your custom description (decepticon)?
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  6. #6
    Guest
    It supposed to be at 4096, but I didn't get around to changing it until now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width