TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rick Malek
NA
201
14.8k
Determine Point.X and Point.Y
Apr 26 2004 7:55 PM
I am trying to figure out how to determine where the sytlus is when it is pressed on the palette. When the stylus is held down a Context menu is to pop-up and when a selection is made a textbox is to be placed on the form with a specific letter in it. I have all this worked out except for determining where the stylus is on the screen. I am using the following C# code private void contextMenu1_Popup(object sender, System.EventArgs e) { posx = Form1.MousePosition.X; posy = Form1.MousePosition.Y; } It gets close, but not close enough. The point has to be close to where the stylus is becuase the application is being used to record a hockey game (shots on goal and goals) and the information has to be pretty accurate. Does anyone have any ideas? Thanks!
Reply
Answers (
0
)
GPS in Pocket PC
Need VB.NET Syntax for ObjectList