Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Science and Art > Tech Help

 
 
Thread Tools Display Modes

 
C++ Question
Reply
Posted 2002-11-27, 11:34 AM
How can I make a C++ function that when called on will make a mouse click at X, Y corrdinents in a specific window?
Old
Profile PM WWW Search
Hellmonkeys is neither ape nor machine; has so far settled for the in-betweenHellmonkeys is neither ape nor machine; has so far settled for the in-between
 
Hellmonkeys
 



 
Reply
Posted 2002-11-27, 11:52 AM in reply to Hellmonkeys's post "C++ Question"
Um, did you look it up in MSDN? Basicly, you get the hwnd of the window you want, then send it the proper mouse down and mouse up messages which contain your position data. This may not work, however, with Direct Input.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2002-11-28, 08:01 PM in reply to Hellmonkeys's post "C++ Question"
you could also try some windows api function, which is handy in VB, not sure about c though
Old
Profile PM WWW Search
drivehappy is neither ape nor machine; has so far settled for the in-betweendrivehappy is neither ape nor machine; has so far settled for the in-between
 
drivehappy
 



 
Reply
Posted 2002-12-02, 07:57 AM in reply to Hellmonkeys's post "C++ Question"
Quote:
you could also try some windows api function
duh. That's what I was telling him how to do. How else would you do that kind of thing?
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2002-12-02, 09:11 AM in reply to Hellmonkeys's post "C++ Question"
i avoid vb... cuz it sux
Old
Profile PM WWW Search
Randuin is neither ape nor machine; has so far settled for the in-between
 
 
Randuin
 



 
Reply
Posted 2002-12-05, 03:28 PM in reply to Hellmonkeys's post "C++ Question"
i know, but its nifty for creating apps in no time at all.
1-800-WW-sue-myass
Old
Profile PM WWW Search
drivehappy is neither ape nor machine; has so far settled for the in-betweendrivehappy is neither ape nor machine; has so far settled for the in-between
 
drivehappy
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:06 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.