Hey there,
I see that you are using 2 separate 'if' statements.
Could you show what is inside the if(...actionX)?
If you want to see until where the code runs, press f8 to open in visual studio.
Then find the file and place a BREAKPOINT just after the first if. To make it easier, change your code to this:
Code:
if(Ms.b(0) && Kb.b(KB_LCTRL))
{
if (...action3) // Click on the margin on the LEFT of this line to put a breakpoint here
{
}
}
This does the same thing, but it puts the code on multiple lines, so you can now place a breakpoint:
If you click on the margin to the left of if(...action3), you will see a big red dot appear. This is called a breakpoint. If the program reaches this point in the code, it will pause the application. Now, run the program and press left mouse and LCTRL at the same time. If it pauses, you know that the key-press is working. The problem is then the action3 thingie.
EDIT: Quick tip, if you put a breakpoint on a line, it pauses the application BEFORE it executes that line.