Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem changing text on from lable from another class Pin
yogi_bear_7914-Oct-09 8:02
yogi_bear_7914-Oct-09 8:02 
GeneralRe: Problem changing text on from lable from another class Pin
DaveyM6914-Oct-09 8:05
professionalDaveyM6914-Oct-09 8:05 
GeneralRe: Problem changing text on from lable from another class Pin
yogi_bear_7914-Oct-09 8:42
yogi_bear_7914-Oct-09 8:42 
GeneralRe: Problem changing text on from lable from another class Pin
DaveyM6914-Oct-09 9:05
professionalDaveyM6914-Oct-09 9:05 
GeneralRe: Problem changing text on from lable from another class Pin
yogi_bear_7914-Oct-09 10:17
yogi_bear_7914-Oct-09 10:17 
QuestionPerform a mouse click Pin
p3rson14-Oct-09 6:11
p3rson14-Oct-09 6:11 
AnswerRe: Perform a mouse click Pin
Keith Barrow14-Oct-09 6:24
professionalKeith Barrow14-Oct-09 6:24 
AnswerRe: Perform a mouse click Pin
Luc Pattyn14-Oct-09 6:36
sitebuilderLuc Pattyn14-Oct-09 6:36 
Hi,

yes you can click anywhere using P/Invoke and calling
[DllImport("user32.dll", CallingConvention=CallingConvention.StdCall, SetLastError=true)]
public static extern IntPtr SendInput(int count, ref INPUT input, int size);


I've built a little class that moves and clicks any way I want.

Of course clicking at (x,y) in screen coordinates assumes the thing you want to click really is there (the user or some code may move objects around) and is not covered by something else.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? Neen!


QuestionCreate Singleton Class Different AppDomain Pin
dataminers14-Oct-09 5:36
dataminers14-Oct-09 5:36 
AnswerRe: Create Singleton Class Different AppDomain Pin
Not Active14-Oct-09 6:09
mentorNot Active14-Oct-09 6:09 
GeneralRe: Create Singleton Class Different AppDomain Pin
dataminers14-Oct-09 10:25
dataminers14-Oct-09 10:25 
GeneralRe: Create Singleton Class Different AppDomain Pin
Not Active14-Oct-09 10:50
mentorNot Active14-Oct-09 10:50 
GeneralRe: Create Singleton Class Different AppDomain Pin
dataminers14-Oct-09 12:02
dataminers14-Oct-09 12:02 
GeneralRe: Create Singleton Class Different AppDomain Pin
Not Active14-Oct-09 14:40
mentorNot Active14-Oct-09 14:40 
GeneralRe: Create Singleton Class Different AppDomain Pin
dataminers14-Oct-09 21:20
dataminers14-Oct-09 21:20 
GeneralRe: Create Singleton Class Different AppDomain Pin
Keith Barrow14-Oct-09 22:59
professionalKeith Barrow14-Oct-09 22:59 
GeneralRe: Create Singleton Class Different AppDomain Pin
dataminers15-Oct-09 0:47
dataminers15-Oct-09 0:47 
QuestionExcel and C# Pin
antsims14-Oct-09 5:14
antsims14-Oct-09 5:14 
AnswerRe: Excel and C# Pin
Dave Kreskowiak14-Oct-09 5:21
mveDave Kreskowiak14-Oct-09 5:21 
GeneralRe: Excel and C# Pin
antsims14-Oct-09 6:22
antsims14-Oct-09 6:22 
GeneralRe: Excel and C# Pin
Dave Kreskowiak14-Oct-09 6:35
mveDave Kreskowiak14-Oct-09 6:35 
AnswerRe: Excel and C# Pin
Md. Marufuzzaman14-Oct-09 5:53
professionalMd. Marufuzzaman14-Oct-09 5:53 
GeneralRe: Excel and C# Pin
antsims14-Oct-09 6:20
antsims14-Oct-09 6:20 
AnswerRe: Excel and C# Pin
Richard MacCutchan14-Oct-09 6:28
mveRichard MacCutchan14-Oct-09 6:28 
QuestionProblem with quitting an application Pin
Frank Alviani14-Oct-09 4:57
Frank Alviani14-Oct-09 4: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.