I've already found a lot of posts about the adding of a button to a window's titlebar, but none of them was suitable to use on other windows. :( The only thing I actually need is a kind of class which only requires hWnd.
Printable View
I've already found a lot of posts about the adding of a button to a window's titlebar, but none of them was suitable to use on other windows. :( The only thing I actually need is a kind of class which only requires hWnd.
Does anyone know how to do that?
u cant directly add something to the titlebar ,instead use skins u will find them at vbaccelerator.com
Actually it is possible. See Minimizer-XPQuote:
Originally Posted by litlewiki
I guess, adding the button in titlebar will not be a hard work.
But for trapping the 'Button_Click' event, hooking may be the only way.
yeah, i sure know it is possible... ;) plenty of examples around here...
my problem is the hooking outside a vb window. it works, but when i want to put it in the titlebar, it hides underneath it. :ehh: i guess another thing that's impossible in vb... :(
Sure its possible but to do it in other apps will require the use of a more powerful language like C++ or write a dll in C++ and then finish it with VB.