Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cursor is showing low in graphics screen
#1
I'm trying to use mouse functions to identify points on the screen, but noticed the corsor is displaying about 5 pixels below its actual point. Is this something unique to my system? I know I can compensate with my zone positions, but just curious. Try this:

Code: (Select All)
Screen _NewImage(1040, 768, 32)

PSet (175, 175)
For a = 1 To 7: Draw "d28r26u28l26r26": Next

GetMouse:
While _MouseInput
    X = _MouseX: Y = _MouseY
    Locate 2, 2: Print X, Y
Wend
GoTo GetMouse
 I want to select each cell accurately by mouse pointer, but the pointer is about 5 pixels low.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#2
Must be something on your end.  I'm not seeing the issue on mine.  Are you on Linux, Mac, or Windows?
Reply
#3
Using Windows 11, and the latest version of PE.; I'll try changing  a few things - screen mode etc. - and see what happens. No big deal, but something I have to keep in mind when graphicising.  Big Grin
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  simple 3d starfield & wireframe or vector graphics revisited madscijr 5 263 01-31-2026, 09:41 PM
Last Post: Pete
  WinAPI Cursor refuses to hide. Pete 10 2,128 12-29-2025, 05:44 PM
Last Post: SpriggsySpriggs
  CAN someone please get the graphics in this to work? Dragoncat 3 631 05-07-2025, 12:17 PM
Last Post: bplus
  Is there a way to get the current graphics cursor position? Dav 8 1,778 09-10-2023, 02:33 PM
Last Post: GareBear
  No warning to mix screen 0 and screen graphic commands! TempodiBasic 8 1,792 06-16-2023, 11:36 PM
Last Post: TempodiBasic

Forum Jump:


Users browsing this thread: 1 Guest(s)