Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


help with c# overlay

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
sangeli
Master Cheater
Reputation: 0

Joined: 07 Dec 2006
Posts: 406

PostPosted: Mon Jun 28, 2010 6:12 pm    Post subject: help with c# overlay Reply with quote

I am making a little eve online program that helps you out by displaying info on top of the game screen. It has gone well so far, except I have run into a few problems, one being that I want to draw shapes/text on the game screen via overlay without impeding mouse clicks. I have a transparent form exactly on top of the game window and it has no frame, but when I set opacity > 0 I can't click on the game.

How can I either draw onto the game's actual window or draw onto the form but not impede the mouse.

edit: another problem but a near solution was to make the background color the transparency key, but if I draw in a different color it still blocks the mouse (and keyboard)

_________________
Dark Byte wrote:
ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware
Back to top
View user's profile Send private message  
atom0s
Moderator
Reputation: 204

Joined: 25 Jan 2006
Posts: 8580
Location: 127.0.0.1

PostPosted: Wed Jun 30, 2010 4:51 pm    Post subject: Reply with quote

You can try making the window 'click-through' while it's set to always on top as well so it will sit above the game but not interfere. Here's a small example of how to do that:
http://zeeohemgee.blogspot.com/2006/06/c-snippets-create-transparent-click.html

As for drawing onto the game there will be a bit more work then simply coding a small application to do that. You will need to find out what rendering method the game uses, hook it, and so on to draw your own things.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website  
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites