Night Posted May 21, 2003 Posted May 21, 2003 The x-coordinate of the cursor is the low-order word, and the y-coordinate of the cursor is the high-order word. Window has LOWORD and HIWORD macros for this. But it's for C++ How can I do this in C# I catch this message using overiden WndProc method. Quote
Leaders Squirm Posted May 21, 2003 Leaders Posted May 21, 2003 LOWORD = Number & 0xFFFF; HIWORD = Number >> 16; :) Quote Search the forums | Still IRCing | Be nice
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.