Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
QuestionGetting mouse click outside form Pin
jgallen2331-Oct-05 11:10
jgallen2331-Oct-05 11:10 
AnswerRe: Getting mouse click outside form Pin
Christian Graus31-Oct-05 11:19
protectorChristian Graus31-Oct-05 11:19 
GeneralRe: Getting mouse click outside form Pin
jgallen2331-Oct-05 11:25
jgallen2331-Oct-05 11:25 
GeneralRe: Getting mouse click outside form Pin
Christian Graus31-Oct-05 11:31
protectorChristian Graus31-Oct-05 11:31 
GeneralRe: Getting mouse click outside form Pin
jgallen2331-Oct-05 11:33
jgallen2331-Oct-05 11:33 
GeneralRe: Getting mouse click outside form Pin
jgallen2331-Oct-05 13:40
jgallen2331-Oct-05 13:40 
GeneralRe: Getting mouse click outside form Pin
Christian Graus31-Oct-05 13:45
protectorChristian Graus31-Oct-05 13:45 
GeneralRe: Getting mouse click outside form Pin
jgallen2331-Oct-05 14:06
jgallen2331-Oct-05 14:06 
I'm using this code to get the mouse position with a timer interval of 10, and it works fine, I'm just not familar with the api enough to figure out how to check for clicks

<br />
[DllImport("user32.dll")]<br />
static extern bool GetCursorPos(ref Point lpPoint);<br />
<br />
private void timer1_Tick(object sender, System.EventArgs e)<br />
		{<br />
			Point defPnt = new Point();<br />
<br />
						GetCursorPos(ref defPnt);<br />
<br />
		<br />
<br />
			MouseX = defPnt.X;<br />
<br />
			MouseY = defPnt.Y;<br />
			<br />
				}<br />

GeneralRe: Getting mouse click outside form Pin
Christian Graus31-Oct-05 14:31
protectorChristian Graus31-Oct-05 14:31 
AnswerRe: Getting mouse click outside form Pin
Stefan Troschuetz31-Oct-05 23:01
Stefan Troschuetz31-Oct-05 23:01 
Questioncaret position Pin
Agyeman31-Oct-05 10:50
Agyeman31-Oct-05 10:50 
AnswerRe: caret position Pin
Christian Graus31-Oct-05 11:09
protectorChristian Graus31-Oct-05 11:09 
AnswerRe: caret position Pin
S. Senthil Kumar31-Oct-05 17:55
S. Senthil Kumar31-Oct-05 17:55 
QuestionCreating a database in C# Pin
frankie12331-Oct-05 10:37
frankie12331-Oct-05 10:37 
AnswerRe: Creating a database in C# Pin
whizzs31-Oct-05 10:50
whizzs31-Oct-05 10:50 
AnswerRe: Creating a database in C# Pin
Christian Graus31-Oct-05 11:17
protectorChristian Graus31-Oct-05 11:17 
GeneralRe: Creating a database in C# Pin
frankie12331-Oct-05 11:36
frankie12331-Oct-05 11:36 
GeneralRe: Creating a database in C# Pin
Christian Graus31-Oct-05 12:05
protectorChristian Graus31-Oct-05 12:05 
QuestionWindows Impersonation Pin
suezzz0031-Oct-05 9:37
suezzz0031-Oct-05 9:37 
QuestionGet current user Pin
zaboboa31-Oct-05 9:08
zaboboa31-Oct-05 9:08 
AnswerRe: Get current user Pin
.NetRocker31-Oct-05 9:13
.NetRocker31-Oct-05 9:13 
GeneralRe: Get current user Pin
zaboboa31-Oct-05 9:17
zaboboa31-Oct-05 9:17 
GeneralRe: Get current user Pin
.NetRocker31-Oct-05 9:32
.NetRocker31-Oct-05 9:32 
AnswerRe: Get current user Pin
User 665831-Oct-05 9:59
User 665831-Oct-05 9:59 
QuestionEditbox update Pin
Tom Moore31-Oct-05 8:57
Tom Moore31-Oct-05 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.