ghostrider
Dec 5 2006, 06:20 PM
Before I talk about what subclassing actually is, I have to explain a little bit about how Windows works. Windows has the ability to send messages to eachother using the SendMessage() API function. These messages give the program important information, such as if the mouse cursor is on your program, whether it has focus or not, and when the little X on the title bar is clicked. Subclassing is another way that hackers can steal the password behind password boxes (the text boxes with **********). While I can't go into how to do that on Trap17 without getting warned for exploiting stuff, subclassing is an important thing to learn for security purposes. Each program has a procedure that handles messages, for the majority of languages, like VB you don't have to write this code out. For Win32 assembly you do. Subclassing is the act of replacing the address of that procedure with the address of your procedure. Subclassing procedures follow this pattern: 1. Get the message by using the GetMessage() API function. 2. Check what the message is. 3. If you want to do something for it, write the code, and then exit the function 4. If your message doesn't relate to your procedure, return the message to the original message handler. If not your program can crash. One more important note about subclassing, make sure you return control to the original procedure before your program exits!!!! If not you can cause your system to crash and you will need to reboot. I'll be writing a tutorial on how to do this soon, using VB.
Reply
Recent Queries:--
subclassing winapi - 75.62 hr back. (1)
-
what is subclassing - 209.18 hr back. (1)
Similar Topics
Keywords : subclassing, windows, programmers
- Windows Xp
(7)
After 18 Years Windows 3.1 Is Officially Retired
(14) Wow is all I have to say just because of the fact I thought they gave up giving licenses for this
old, outdated, slow, useless operating system. I guess not as November 1st, 2008 Windows 3.1 is
officially dead and the funny thing is didn't support for this operating system end at windows
98 or something like that? Either way I wonder when they will stop issuing liscenses for 95, 98,
ME, 2000 because those operating systems are just as outdated and can not even run most of the web
technologies that ae out there today and so if your going to cut off support you might....
7 Lessons Windows 7 Can Learn From Os X
(3) Another interesting article I came across today thanks to digg and it would seem that the points are
right and I would think most people would agree with them even though this is in the eyes of an
Apple user. 1. Easier product versions QUOTE Keep it simple, please Microsoft. Having too many
different versions of your product is too confusing for the buying public to understand. Should they
go for the Home, the Professional or the Ultimate version? Vista shipped in six different editions,
while OS X 10.5 Leopard came in just one (if you forget the server edition). ....
Linux Ubuntu Vs Windows Vista
Discussion on which OS is better, Vista or Ubuntu. (4) A few weeks ago, i downloaded a live-cd for Linux Ubuntu 8.4 and booted it from the cd. It was not
as bad as i had thought (although i had trouble booting /dry.gif" style="vertical-align:middle"
emoid=" ) but REALY SLOW. So i installed Ubuntu and was pretty nice /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> . From my experience from
vista and ubuntu i have to say vista still stands number for me. Which one do you think is better?....
Top 10 Things To Look Forward To In Windows 7
(8) This post is based on an article printed by lifehacker.com in which I thought I bring my opinions
about this article. 10. Side bar Thank god I would think 99% of the world would agree that this
was the most useless feature and a memory waster as well, because every time I started up vista the
memory would spike when it was loading that sidebar and besides I close it most of the time anyway
because of how useless it really was. 9. Old school programs get the respect they deserve To be
quite honest I am glad they are at least updating these programs, even if it is just....
Change 'open With' In Regedit
for Windows XP (9) Hi there. I have a problem with File Types on my PC: xls files are opened by default with Open
Office, but I want to open them with Excel. I right click the file and I choose Open With, but Excel
is not in those programs; so I select Choose Program; again Excel is not in the Recommended Programs
nor in the Other Programs. I click Browse and I go to where Excel is installed and I select the exe,
but after I click Ok nothing happens, I mean Excel doesn't appear in Recommended Programs like
it should. So my question is this: is there any way to force xls files to open ....
Windows Vista: Disabling Login Screen
officially not permitted, is there a way around? (5) Hi all, I'm sure some of you gave a thought to this, why does Vista always show the login
screen when booting? In XP there was an option somewhere in control panel to "assume this user
always login to the computer" or something like that. That way if you used the same user 99% of the
time and wanted to keep a second user as say an administrator you could do so by setting that
option. If you ever wanted to switch to the "hidden" user you could do so with Log Off or Switch
User in Start Menu. Now this is not possible in Vista, the user is given the login screen no ma....
Windows Xp New Embedded Theme
(2) I had came across this new theme on lifehacker last week , and besides the cool blue layout it
comes with some new audio clips when you log on and off XP. If anything, I would download it four
the sound clips because they are pretty cool to listen to when you log on and off the computer.
Here is a download of the theme http://www.mediafire.com/download.php?aywudxvynnq Desktop Image
of this new theme ....
Help Me Please! Windows 98 - Dont Know...
(4) At me such question I can not change the menu in Windows, it looks on new why that.... Help to
adjust... At me of a Window 98....
Windows Version History
(6) I just thought others will be interested to know the genealogy of Vista which looks like this:
QUOTE As you know Windows 1.0 was their first: November 1985. Windows 2.0 : end of 1987.
Windows 3.0 : May 1990. Windows 3.1 : April 1992. Windows for Workgroups 3.1 : October 1992.
Windows NT 3.1 Workstation : July 1993.(there only had a workstation version) Windows for
Workgroups 3.11 : August 1993. Windows NT 3.5 Workstation and Server : September 1994.
Windows NT 3.51 Workstation and Server : May 1995. Windows 95 : August 1995. Wi....
Windows Xp Sp2 Restarting After Some Time
(8) Hi , I dont know what happened but My system restarts after a few Minutes (at max an hour). Can
someone guess what might be wrong. It displays a System Shutdown Timer (initiated by
Administrator) and then restarts after 60 sec. This is an SP2 so I dont think its a blaster. I
have a ZoneAlarm Security Suite and it didn't detect anything. I even Scanned my Windows folder
from Kaspersky using my Second OS (Vista) but that also didn't detect anything . .. Any guesses
??....
Creating A Shortcut List Near The System Tray
Time saver tip for windows (4) Are you bored at work today? Here's a small enhancement to your desktop. Hope you like it. I)
When you have to open any program you have to click "Start" "All Programs" and then choose your
selection from the programs folder. Now how would it be to achieve the same task in just two clicks?
You can save all your favourite program shortcuts in a folder and view that through a tiny arrow
near the system tray. Its very simple. You would tell, "Ya, I almost knew that". Here's how to
do it. a) First create your folder and add the shortcuts you want to access. The f....
Windows Vista Installation Fails
(9) Hello. I tried Installing Windows Vista Home Premium today, but when it comes to the part
of the Installation where it says "Your computer will restart several times" my computer restarts
more then 40 times, and never loads after that. After like, 10-15 minutes of it being off, I switch
it back on, and it restores to XP (Witch is good because it wouldn't start up at all). I've
tried installing this 4 times altogether, and nothing. it keeps restarting continuously more then 40
times. The only time it restarts is after the BIOS loads, when switching/restar....
How Many Times Do You Reinstall Windows In A Year
There goes some useful tips about it. (32) I reinstall (restore) windows almost every 2-3 months. What about you??? Seeing the title some would
say "I do it daily" and some others "How to reinstall?". Let's see the poll results. Linuxers,
see you in other post. Reinstalling windows is a daily chore for the students studying computers.
They have to switch a lot of softwares, compilers etc etc. Windows as we know, will not tolerate a
whole lot of (Un)installations and will ultimately slow down the whole system. This is not the case
with Linux. Just consider this, I installed Red Hat WS 3(the older version whi....
Windows Xp & Ubuntu’s Cold War
(5) This is an essay I written for a my linux class and I thought I would give my thoughts about how I
compared XP with Ubuntu. QUOTE Windows XP & Ubuntu’s Cold War In 2000 years, there
have been many epic battles, many of which have produced both heroes and villains and many producing
winners and losers. However, in today’s world another cold war is brewing, that cold war is
between Microsoft’s Windows XP and Ubuntu. They will never pull out all the stops and launch
nuclear missiles, but instead will try to provide a whole new world for people t....
Ajax Windows
(7) Its like a computer in your web browser. http://ajaxwindows.com/apps/windows/content/index.html
It looks good from what i've seen. Like a computer in a window. all files saved on their server,
and so long as you've got internet access (at a decent speed) all you need to do is sign up.
I'm surprised google hasn't done something simmilar, they seem to offer everything else...
Docs, maps, medical records. Other than the major drain on my internet usage (which i use enough of
as it is).......
Windows Xp: Explorer.exe Crashes On Certain Accounts
(9) I share a Windows XP computer with two friends, and we each have our own User Account on the
computer. Recently whenever my friends use the PC, they begin to have problems with it. For no
reason whatsoever, Windows Explorer will crash and close all the current folders that are open. I
went onto their User Accounts to see for myself (with permission, of course), and found that
Explorer would crash any time I right-clicked a File, and would also crash on occasion if I clicked
"File" on the Folder Window's Menu Bar with a file selected. It also happened on rare occasion....
Windows Explorer Randomly Crashing
(6) Okay, I've had Vista for a few months now but just recently my Windows Explorer has been having
problems. It says "Windows Explorer has stopped working" and then I click the option restart the
program. I usually have 2 - 5 Explorer windows open and when I click restart the program it closes
all of my windows and opens up My Documents. I usually get this error one or two times a day but
I'm not doing anything wrong. Is this error only happening to me or has it happened to anyone
else. Thanks. ....
Windows 7
(12) One year after the official Vista release , Microsoft is already working on the next Windows
operating system , Windows 7 , also known as Blackcomb or Vienna . Windows 7 Milestone 1 Build 6519
, the first working version of windows 7 , has already leaked to the w a r e z community , but it
doesn't differs much from Vista . The release is set for late 2009 / 2010 . So what do you think
about Windows 7 . Of course that the work on Vista continues , as it's not yet perfect but will
soon be.....
Windows Vista Randomly Freezing
Vista freezes randomly (15) So I just installed vista upon the almighty computer, and it worked fine for a day or less. (Bah). I
installed all my drivers and such and went on my merry way. Now all of a sudden it starts freezing
on me. It's completely random, I can find absolutely NO pattern to why it's doing this.
I've reformatted multiple times to make sure it wasn't just a bad install. I've updated
my drivers, they are ALL compatible with Vista. I've read it could be an issue with an April 06
Security update Microsoft released but I have no such update installed. Being a f....
Never Use Windows Vista
(16) Iam the user of Windows Vista. I gone with Vista because of unavailability of other options. Windows
will shutdown its support for XP after few years like they done with 98 and other operating systems.
So I brought Vista Home Edition. My computer configurations: Core 2 duo processor. I GB DDR2
RAM. 160 GB Hard Disk And other best available features. Problems suffering with Windowis
Vista: Taking about 3 to 5 minuets for Logging and Sutting Down. Gives many error messages with
good application programs. It is 4 times slower than XP for any Operating System O....
How Do I Change The Default Windows Font Size?
Without changing DPI, of course. (5) I know there's an option in Ubuntu to change all the font sizes of the general system, the
windows, and etc. Now I'm trying to do this in Windows. I've changed everything about
the windows except for the general system size. How do I do this?....
Linux Or Windows Hosting Os?
(9) Okay i recently bought a godaddy hosting account. Now my question is whats the difference between
the Linux OS hosting, and the Windows OS hosting?....
Nasty Windows Tricks Using Vbs Codes
blue screen of Death, Instant Shutdown, Endless Notepads (17) The CMD Codes- to use, open up notepad and copy and paste the code into the notepad. name the file
(anyname).vbs (to make a .vbs file, when u save it or save as, it will ask u for a name and which
type u want it, so choose all file then just name it as a .vbs file) then just click on the file u
just made *NOTE* these codes do not stay on forever, they just stay on until the person shuts off
the computer. The registry delete is one that PERMANETLY deletes files on the computer that cannot
be recovered. this will DESTROY the computer -The blue screen of Death *The Blue....
Vista Rocks
Windows Vista Rocks (42) Windows Vista Rocks so much!!! At Trap17 we request you post with quality. Please try to make
longer posts with more content and of a higher quality. Read the readme for more information on
the rules. ....
Windows Xp Clock
(4) How can I make the clock in the system tray display seconds as well as hours and minutes?....
Error Installing Windows Xp -error 7 Ntkrnlmp.exe
(11) i have tried to install windows xp on my pc and i get an error right after it ask at the bottom of
the screen to press f2 to restore an error pops up saying FILE \$win_nt$.~bt\NTKRNLMP.EXE cannot be
open error 7 setup cannot complete and has to close i have had windows xp on the pc before so i
know its compatible but i used a different version of windows before ,this tinme im using a new one
and i get this error i seem to find no solution anywhere about how to resolve this and I was
wondering if possible theres something i need to do,I am not to smart with computers s....
Windows Xp Freezes At Welcome Screen
(44) today i start my pc in windows xp and found that xp freezes at welcome screen. then i try to boot in
safe mode but the problem persisits then i again try in last good configuration setting but it
doesn't help so i hav to reinstall my xp plz any body hav solution for this so that i do not hav
to reinstall my xp for this problem as i get this problem oftenly. thanks....
Windows Xp Nemesis
or Windows Xp Hack (13) I've heard a few days ago about an OS called Windows Xp Nemesis and after some searching on the
internet I discovered it's a version of Windows Xp Hacked that has a lot of programs installed
with the OS. I was just wondering if any of you tried it.......
Windows Xp And Dos Multiboot
how?? (11) Question to you all, I have a computer running windows XP, now I want to add a "real" DOS
enviroment on the computer (not cmd or dosbox or something like that). So I thought dualboot will
do the trick, but the problem is, if I go on and install dos on my free harddisk, I will have a
problem cause it f*cks up my boot process and windows xp will not start anymore. That I dont want!
Anyone got an idea on how i can install dos so I can multiboot between windows xp and dos without
formatting my windows drive, install dos and then reinstall windows? Any help would be greatl....
Looking for subclassing, windows, programmers
|
*SIMILAR VIDEOS*
Searching Video's for subclassing, windows, programmers
*MORE FROM TRAP17.COM*
|
advertisement
|
|