I've been searching for so long but couldn't find out HOW to PUT an PICTURE on Form's Title bar with APIs function.
Does any one know the code or the solution for it ? Please show me whatever you know to make it !
Thanks
First of all you should obtain tha handle to the window's device context (NOT the cliet area device context) by using GetWindowDC. This will enable you to paint anywhere in the non client area (including the title bar).
The next question is how to render the picture there...
Check out IPicture in the MSDN, this will enable you to render all sorts of pictures, however I never used this in VB (but since it is a COM interface it probably will).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.