Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Display a presentation on TV Pin
SquallBlade2-Feb-05 3:52
SquallBlade2-Feb-05 3:52 
GeneralRe: Display a presentation on TV Pin
Heath Stewart2-Feb-05 6:34
protectorHeath Stewart2-Feb-05 6:34 
GeneralRe: Display a presentation on TV Pin
Christian Graus2-Feb-05 9:03
protectorChristian Graus2-Feb-05 9:03 
Generalsynthesize mouse click Pin
Some Idiot1-Feb-05 11:05
Some Idiot1-Feb-05 11:05 
GeneralRe: synthesize mouse click Pin
Christian Graus1-Feb-05 11:21
protectorChristian Graus1-Feb-05 11:21 
GeneralRe: synthesize mouse click Pin
Heath Stewart1-Feb-05 15:33
protectorHeath Stewart1-Feb-05 15:33 
GeneralRe: synthesize mouse click Pin
Some Idiot2-Feb-05 1:12
Some Idiot2-Feb-05 1:12 
GeneralRe: synthesize mouse click Pin
Heath Stewart2-Feb-05 6:17
protectorHeath Stewart2-Feb-05 6:17 
If the function returns 1, then 1 mouse click was queued.

As I said in my post, the coordinates are screen coordinates, and I highly doubt you have anything clickable in the absolute upper-left corner of your desktop. If you want click coordinates, call PointToScreen on the control for which you want screen coordinates, which will transform the client coordinates (like 0,0 for the upper-left corner of that control) to screen coordinates, then pass them to the sample method.

For information on P/Invoke, read Consuming Unmanaged DLL Functions[^].

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: synthesize mouse click Pin
Heath Stewart1-Feb-05 15:34
protectorHeath Stewart1-Feb-05 15:34 
Generalmultiple tables binding to a grid Pin
cuah1-Feb-05 10:46
cuah1-Feb-05 10:46 
GeneralRe: multiple tables binding to a grid Pin
Heath Stewart1-Feb-05 15:16
protectorHeath Stewart1-Feb-05 15:16 
GeneralHyperlink Value Pin
myousufq1-Feb-05 10:12
myousufq1-Feb-05 10:12 
GeneralRe: Hyperlink Value Pin
Heath Stewart1-Feb-05 10:20
protectorHeath Stewart1-Feb-05 10:20 
GeneralRe: Hyperlink Value Pin
myousufq1-Feb-05 10:37
myousufq1-Feb-05 10:37 
GeneralRe: Hyperlink Value Pin
Heath Stewart1-Feb-05 10:52
protectorHeath Stewart1-Feb-05 10:52 
GeneralRe: Hyperlink Value Pin
Heath Stewart1-Feb-05 10:56
protectorHeath Stewart1-Feb-05 10:56 
GeneralRe: Hyperlink Value Pin
myousufq2-Feb-05 3:39
myousufq2-Feb-05 3:39 
GeneralRe: Hyperlink Value Pin
Heath Stewart2-Feb-05 6:30
protectorHeath Stewart2-Feb-05 6:30 
GeneralRe: Hyperlink Value Pin
myousufq2-Feb-05 7:22
myousufq2-Feb-05 7:22 
GeneralRe: Hyperlink Value Pin
Heath Stewart2-Feb-05 7:29
protectorHeath Stewart2-Feb-05 7:29 
GeneralRe: Hyperlink Value Pin
myousufq3-Feb-05 1:56
myousufq3-Feb-05 1:56 
GeneralDumb question about Mono C# Pin
FocusedWolf1-Feb-05 10:06
FocusedWolf1-Feb-05 10:06 
GeneralRe: Dumb question about Mono C# Pin
Judah Gabriel Himango1-Feb-05 10:13
sponsorJudah Gabriel Himango1-Feb-05 10:13 
GeneralRe: Dumb question about Mono C# Pin
FocusedWolf1-Feb-05 10:19
FocusedWolf1-Feb-05 10:19 
GeneralRe: Dumb question about Mono C# Pin
Heath Stewart1-Feb-05 10:27
protectorHeath Stewart1-Feb-05 10:27 

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.