|
In this example I "reprogrammed" the "C"-Button of Microsofts Calculator:
http://home.scarlet.be/~il095280/hijacking_ms-calc.zip
(Should start in scientific mode, otherwise it will not work, has to be improved)
This works completely without hooks (as hooks are quite ugly) and WITHOUT touching the orignal app, so you are even legally allowed to "extend" other apps like this. It just creates a form, sets the other app (calc.exe) as the parent, and draws its button over the original one.
You can even automatically get its position, window-style, caption, etc, anyway, in this example i did it manually.
Last edited by aldente; 08-09-2005 at 09:24.
|