Search
Setup for Free
C
C#
•
3y ago
hungryhyena78
✅ [SOLVED] Grid Issues
I
’m making a grid system
, however when I click on a certain grid space
, it only works in full screen because MousePosition
.X and Y do not read from the application
, but from the user
’s screen
. How do I fix this
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,156
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
H
hungryhyena78
OP
•
10/31/23, 6:43 PM
Clicking here results in a debug output of X
= 3
(column
) and Y
= 2
(Row
)
H
hungryhyena78
OP
•
10/31/23, 6:43 PM
H
hungryhyena78
OP
•
10/31/23, 6:43 PM
But in full screen it gives me X
= 0 and Y
= 0 in the same spot
H
hungryhyena78
OP
•
10/31/23, 6:44 PM
So I need it to consistently reference the window and not the user
’s screen
H
hungryhyena78
OP
•
10/31/23, 7:08 PM
Update
: I
’ve made progress
. All I need is to know where the form is located on the user
’s screen
. How would you guys suggest I do that
?
H
hungryhyena78
OP
•
10/31/23, 7:46 PM
NEVERMIND I DID IT
. LETS GOOOOOOO
H
hungryhyena78
OP
•
10/31/23, 7:46 PM
This
.Top and This
.Left was the answer
H
hungryhyena78
This.Top and This.Left was the answer
T
TeBeCo
•
10/31/23, 8:27 PM
$close
T
TeBeCo
$close
M
MODiX
•
10/31/23, 8:27 PM
Use the
<
/
c
l
o
s
e
:1007753098107813888
> command to mark a forum thread as answered
Similar Threads
[solved]
C
C# / help
14mo ago
(Solved)
C
C# / help
16mo ago
❔ ✅ solved
C
C# / help
3y ago
solved
C
C# / help
3y ago
✅ [SOLVED] Grid Issues - C#