Click here to Skip to main content
15,993,913 members
Home / Discussions / C#
   

C#

 
GeneralRe: Mouse Button > keystroke Pin
Anonymous11-Feb-04 10:59
Anonymous11-Feb-04 10:59 
GeneralRe: Mouse Button > keystroke Pin
Spanky311-Feb-04 11:16
Spanky311-Feb-04 11:16 
GeneralRe: Mouse Button > keystroke Pin
Kentamanos11-Feb-04 11:30
Kentamanos11-Feb-04 11:30 
GeneralRe: Mouse Button > keystroke Pin
Spanky311-Feb-04 11:44
Spanky311-Feb-04 11:44 
GeneralRe: Mouse Button > keystroke Pin
Kentamanos11-Feb-04 11:55
Kentamanos11-Feb-04 11:55 
GeneralRe: Mouse Button > keystroke Pin
Spanky311-Feb-04 11:54
Spanky311-Feb-04 11:54 
GeneralNearly Sorted! Pin
Spanky311-Feb-04 12:02
Spanky311-Feb-04 12:02 
GeneralRe: Nearly Sorted! Pin
Spanky311-Feb-04 12:15
Spanky311-Feb-04 12:15 
k had a look at the source........
<br />
 Private Declare Function GetCursor Lib "user32" () As Int32<br />
    Private Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (ByRef lpPoint As POINTAPI) As Int32<br />
    Private Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Int32, ByVal yPoint As Int32) As Int32<br />
    Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Int32, ByRef lpdwProcessId As Int32) As Int32<br />
    Private Declare Function AttachThreadInput Lib "user32" Alias "AttachThreadInput" (ByVal idAttach As Int32, ByVal idAttachTo As Int32, ByVal fAttach As Int32) As Int32<br />
    Private Declare Function GetAsyncKeyState Lib "user32" Alias "GetAsyncKeyState" (ByVal vKey As Int32) As Int16<br />


k i understand GetCursor is the function name and it returns in Integer ....... but "user32" refers to a library and i have no idea how to port that part of the code over to c#

Blush | :O
just out of interest is this...... code actually intercepting the events or simply reading them as they fly by as i need to read process and act
GeneralRe: Nearly Sorted! Pin
Kentamanos11-Feb-04 12:18
Kentamanos11-Feb-04 12:18 
GeneralRe: Nearly Sorted! Pin
Spanky311-Feb-04 12:21
Spanky311-Feb-04 12:21 
QuestionHow do you do: On Explorer, right click on file -&gt; Open with...-&gt; MyApp.exe ? Pin
mdundek11-Feb-04 7:01
mdundek11-Feb-04 7:01 
AnswerRe: How do you do: On Explorer, right click on file -&gt; Open with...-&gt; MyApp.exe ? Pin
Heath Stewart11-Feb-04 9:43
protectorHeath Stewart11-Feb-04 9:43 
Questionhow to draw an X axis by datetime data! Pin
Member 185560811-Feb-04 4:23
Member 185560811-Feb-04 4:23 
AnswerRe: how to draw an X axis by datetime data! Pin
leppie11-Feb-04 6:05
leppie11-Feb-04 6:05 
GeneralComputer Info Pin
Kenneth Childs11-Feb-04 4:11
Kenneth Childs11-Feb-04 4:11 
GeneralRe: Computer Info Pin
hxxbin11-Feb-04 4:21
hxxbin11-Feb-04 4:21 
GeneralRe: Computer Info Pin
Kenneth Childs11-Feb-04 5:01
Kenneth Childs11-Feb-04 5:01 
GeneralRe: Computer Info Pin
Heath Stewart11-Feb-04 9:38
protectorHeath Stewart11-Feb-04 9:38 
GeneralRe: Computer Info Pin
Heath Stewart11-Feb-04 9:51
protectorHeath Stewart11-Feb-04 9:51 
GeneralRe: Computer Info Pin
Daniel Turini11-Feb-04 4:33
Daniel Turini11-Feb-04 4:33 
Generalcreating and editing Resource files Pin
POKRI11-Feb-04 3:57
POKRI11-Feb-04 3:57 
GeneralRe: creating and editing Resource files Pin
OmegaSupreme11-Feb-04 9:29
OmegaSupreme11-Feb-04 9:29 
GeneralRe: creating and editing Resource files Pin
Heath Stewart11-Feb-04 9:34
protectorHeath Stewart11-Feb-04 9:34 
GeneralPDF Viewer Pin
Mahesh Varma11-Feb-04 2:34
Mahesh Varma11-Feb-04 2:34 
GeneralRe: PDF Viewer Pin
Heath Stewart11-Feb-04 2:53
protectorHeath Stewart11-Feb-04 2:53 

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.