Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex uppercase Pin
Pete O'Hanlon27-Jun-17 1:12
mvePete O'Hanlon27-Jun-17 1:12 
QuestionPrinting multiple files of different format in ASP.Net Pin
BinodKumar7524-Jun-17 20:27
BinodKumar7524-Jun-17 20:27 
AnswerRe: Printing multiple files of different format in ASP.Net Pin
Richard MacCutchan24-Jun-17 21:17
mveRichard MacCutchan24-Jun-17 21:17 
AnswerRe: Printing multiple files of different format in ASP.Net Pin
Pete O'Hanlon25-Jun-17 6:21
mvePete O'Hanlon25-Jun-17 6:21 
QuestionHow sum for groups in grand total in crystal report. Pin
Member 1323835124-Jun-17 20:08
Member 1323835124-Jun-17 20:08 
QuestionVSTS Unit Test Pin
Rakesh Rajendra Patil23-Jun-17 20:08
Rakesh Rajendra Patil23-Jun-17 20:08 
QuestionProgrammatically Animating a StackPanel using C# in WPF Pin
Member 1322493123-Jun-17 5:20
Member 1322493123-Jun-17 5:20 
QuestionCreate an automatisation for a toolbar and checkboxes on a third party application Pin
Member 1302589023-Jun-17 4:12
Member 1302589023-Jun-17 4:12 
Hi girls and guys.

I`m trying to simulate clicks on toolbar entrys and checkboxes on a third party application.
"Pls don`t schold with me.. I`m at the beginning of my c# carrer Smile | :) "

Atm. I was trying it on notepad++. I was able to start the process, and send a message with SendMessage. I got the needed informations through Spy++/WindowDetective.
C#
Process p = Process.Start(@"C:\Program Files (x86)\Notepad++\notepad++.exe");
        p.WaitForInputIdle();
        IntPtr h = p.MainWindowHandle;
        SetForegroundWindow(h);
        IntPtr child = FindWindowEx(h, new IntPtr(0), "Scintilla", null);
        SendMessageW(child, 0x000C, 0, "Test \n test2");


I understood that with SendMessage I have to find first the needed class where i want to do something and use the right parameters to do the wanted imputs like mouseklick and keypresses. I was able to find them on mouse_event function (Windows)[^]. But about the WParam and LParam am I still confused cause it depends which imput i am using what I have to put on WParam and LParam. Maybe someone can explain it for a noob...

Now my problem is, i want to try some mouseklicks on the toolbar in the "Settings" ContextMenu. But I can not find it with Spy++ or other tools. It is not possible to do a click on it by the "Visual" Name like in AutoIT?

I have another tool where I have some checkboxes and I want to check it if its checked or not but there I can not get any class too. How could I solve it?
I found a nice Tool from Visual Studio (CUIT) but its only in the Enterprise-Version available.

Ty for your time.

Edit: Does no one have a clue? Frown | :(

modified 27-Jun-17 10:32am.

QuestionC# cross compile Pin
Chris-197323-Jun-17 3:47
Chris-197323-Jun-17 3:47 
AnswerRe: C# cross compile Pin
Afzaal Ahmad Zeeshan23-Jun-17 4:28
professionalAfzaal Ahmad Zeeshan23-Jun-17 4:28 
AnswerRe: C# cross compile Pin
Eddy Vluggen23-Jun-17 7:08
professionalEddy Vluggen23-Jun-17 7:08 
QuestionVisual Studio extension - Watch window item selection Pin
Abyss22-Jun-17 9:28
Abyss22-Jun-17 9:28 
QuestionEnd the Scheduled Task if it is running for more than couple of hours C# code Pin
indian14322-Jun-17 8:33
indian14322-Jun-17 8:33 
AnswerRe: End the Scheduled Task if it is running for more than couple of hours C# code Pin
Eddy Vluggen22-Jun-17 8:49
professionalEddy Vluggen22-Jun-17 8:49 
GeneralRe: End the Scheduled Task if it is running for more than couple of hours C# code Pin
indian14322-Jun-17 9:13
indian14322-Jun-17 9:13 
GeneralRe: End the Scheduled Task if it is running for more than couple of hours C# code Pin
Eddy Vluggen22-Jun-17 9:44
professionalEddy Vluggen22-Jun-17 9:44 
Questionhow to remove Flag status from Outlook by c# programming or register edit Pin
Member 1323094822-Jun-17 2:38
Member 1323094822-Jun-17 2:38 
AnswerRe: how to remove Flag status from Outlook by c# programming or register edit Pin
Chris Quinn22-Jun-17 3:09
Chris Quinn22-Jun-17 3:09 
AnswerRe: how to remove Flag status from Outlook by c# programming or register edit Pin
Eddy Vluggen22-Jun-17 4:21
professionalEddy Vluggen22-Jun-17 4:21 
GeneralRe: how to remove Flag status from Outlook by c# programming or register edit Pin
Member 1323094822-Jun-17 20:21
Member 1323094822-Jun-17 20:21 
GeneralRe: how to remove Flag status from Outlook by c# programming or register edit Pin
Pete O'Hanlon22-Jun-17 21:23
mvePete O'Hanlon22-Jun-17 21:23 
Question[SOLVED] Unify Methods; Parameters one or two IEnums<T> Pin
atrus271119-Jun-17 22:02
atrus271119-Jun-17 22:02 
AnswerRe: Unify Methods; Parameters one or two IEnums<T> Pin
Richard Deeming20-Jun-17 0:56
mveRichard Deeming20-Jun-17 0:56 
GeneralRe: Unify Methods; Parameters one or two IEnums<T> Pin
atrus271120-Jun-17 2:19
atrus271120-Jun-17 2:19 
GeneralRe: Unify Methods; Parameters one or two IEnums<T> Pin
Richard Deeming20-Jun-17 2:25
mveRichard Deeming20-Jun-17 2:25 

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.