Hey Guys(and Girls)
I am looking to write a program that displays a smiley face on the screen constantly above all the windows so there is no way of getting rid of it. It is a program i want to put on my friends computer as a joke and to remove it just press a button combo or or something along those lines.
I thought of making a entire program but i wasnt sure i would be able to do that as i still want them to interact with the general uses of the computer but just have a inconvient smiley face in the corner of the screen. (things like that really annoy him :P)
Can anyone help me out?
Perminantly displaying a smiley face on the screen (above all windows)
Started by Alex3k, Mar 03 2011 12:40 PM
4 replies to this topic
#1
Posted 03 March 2011 - 12:40 PM
|
|
|
#2
Posted 03 March 2011 - 01:02 PM
Just set the background image of your form to the smily face, and change the border to none(so he cant exit it), then put the "above all" property to true. That should do the trick. :)
~ Committed.
~ Committed.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#3
Posted 03 March 2011 - 01:03 PM
Haha that simple?
brilliant :D
brilliant :D
#4
Posted 05 March 2011 - 04:18 AM
Or you can directly draw to the desktop canvas using gdi calls. Check Windows API GetDesktopWindow to get desktop window handle to draw on.
#5
Posted 07 March 2011 - 04:56 PM
You don't even need to set a hotkey to close it, you can just make it close using Ctrl+Alt+Del :p
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









