How my Overlay works.

Posts 1–4 of 4 · Page 1 of 1
How my Overlay works.
Keep in mind that this project was created in Visual C# Express 2010.
Class structure from tree view: (Krazy.cs, Animation.cs and Window.cs aren't currently used.


I've removed a few core components, so some idiot can't just recompile this with their name on it and claim it as their own.
If some code in this project is helpful to you, USE IT!

Class explanations:

Structural Classes:
- Interface.cs: A static class, mostly created for organization. This contains members that supply the rest of the components with available working area, the handle of the parent, and offsets used to properly draw the overlay to the process.

- Handler.cs: Another static class. This contains the code that hooks the header and footer to the parent, functions used for pinning and projecting windows, an array containing all child window instances, and the overlay show/hide code.

- WindowState.cs: An instance of this class is assigned to each child window that keeps track of, handles, and changes its state.

- Program.cs: Initialization class. Contains code for finding a process to hook, as well as providing static instances of the footer and header to be accessed universally.

- Config.settings: The settings manager, reads and writes all user settings in .XML format.


Base Classes:
- KeyBoardHook.cs: A rather simple framework explicitly stated for each macro key-combo. This creates and manages the global hotkey for that macro.

- Steam.cs: This is a custom theme class based on AeonHack's well known theme base. This allows me to create the steam-like controls.

Main Forms:
- HeaderFRM: The "true" main form. Keeps track of time, contains a 500ms timer for resizing the overlay, fetching RAM usage of the parent, as well as time. Also contains basic settings.

- FooterFRM: Really contains event handlers for button presses that open apps.

Apps:
- Self explanatory.

---------------------------------------------------------
This code is nowhere near perfect, nor is it a complete project.
I'm very new to programming (started less than a year ago), and i'm just starting to grasp the true concept of OO.
I hope you can use some of my work to learn or help yourself with some of your projects!
@nilly : Not sure if I have to provide scans for this, no executables or anything, just sources.


https://www.virustotal.com/en/file/8...is/1374618694/
K Overlay Source_mpgh.net.zip60 KB · 29 downloads Scanning…
Yeah you need a virus scan. I just threw it in there so you didn't have to do it. Approved.
Quote Originally Posted by Hero View Post
Yeah you need a virus scan. I just threw it in there so you didn't have to do it. Approved.
Thankyou
Really cool, I'm very slowly learning Objective C with Xcode on Mac, hoping to be able to do this type of thing ..soon...... one day.....maybe... hopefully.. in the not so distant future lol
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?