As the subject suggests,
How can I go about adding my own button next to the minimize, resize buttons at the top of a window. This is in an application that I do not own.
Anybody for a try?
Thanks,
Uni
As the subject suggests,
How can I go about adding my own button next to the minimize, resize buttons at the top of a window. This is in an application that I do not own.
Anybody for a try?
Thanks,
Uni
Never tried it with someone else's application but this page here has a discussion and source code on how to do it with one you do own that you may be able to adapt to your needs.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Thanks for that Ken!....
Although I'm struggling with just finding where to actually paint the button? I don't want to draw over the 3 buttons that are already on the screen, so is there some way to get the position of the left most button and get its size and just draw next to it using the same size?
I'd never done this with someone else's app. I was thinking along the lines of having an invisible app displying a largely transpearent bitmap, (transparent apart from the button), and intercepting windows move and size command aimed at the other apps window to control position, and a hot spot to detect clicks.
I figured that would be problematic but solvable, but then, what do you do with the click? If the original app does not have an existing way of doing what you want to do, then, well...
I stopped thinking about it.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.