Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: managed c++ class that inherits from unmanaged c++ Pin
Heath Stewart11-Feb-04 9:52
protectorHeath Stewart11-Feb-04 9:52 
GeneralRe: managed c++ class that inherits from unmanaged c++ Pin
godzooky11-Feb-04 10:07
godzooky11-Feb-04 10:07 
GeneralRe: managed c++ class that inherits from unmanaged c++ Pin
Heath Stewart11-Feb-04 10:10
protectorHeath Stewart11-Feb-04 10:10 
GeneralMouse Button > keystroke Pin
Spanky311-Feb-04 8:04
Spanky311-Feb-04 8:04 
GeneralRe: Mouse Button > keystroke Pin
Kentamanos11-Feb-04 8:15
Kentamanos11-Feb-04 8:15 
GeneralRe: Mouse Button > keystroke Pin
Daniel Turini11-Feb-04 8:16
Daniel Turini11-Feb-04 8:16 
GeneralRe: Mouse Button > keystroke Pin
Spanky311-Feb-04 8:28
Spanky311-Feb-04 8:28 
GeneralRe: Mouse Button > keystroke Pin
Kentamanos11-Feb-04 9:20
Kentamanos11-Feb-04 9:20 
SendInput is the Win32 function you want to use for this. It can be used to simulate keyboard and mouse actually. You'll definitely need to use interop to make the calls from C#.

I've played around with using it to simulate mouse calls, and it's worked fine in other DirectX games (at the time I was trying to do a little macroing in a popular MMORPG).

If you run into any problems, let me know.



I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.

-David St. Hubbins
GeneralRe: Mouse Button > keystroke Pin
Anonymous11-Feb-04 9:31
Anonymous11-Feb-04 9:31 
GeneralRe: Mouse Button > keystroke Pin
Kentamanos11-Feb-04 10:36
Kentamanos11-Feb-04 10:36 
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 
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 -> Open with...-> MyApp.exe ? Pin
mdundek11-Feb-04 7:01
mdundek11-Feb-04 7:01 
AnswerRe: How do you do: On Explorer, right click on file -> Open with...-> 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 

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.