Customizing the title window on a form 
Author Message
 Customizing the title window on a form

What is the way to add a custom item on the title window on a VB form ? I
need to add
a custom icon near the close, resize and minimize buttons. There is a
specific API to do that ?


Mon, 07 Oct 2002 03:00:00 GMT  
 Customizing the title window on a form

Quote:
>There is a specific API to do that ?

No, you have to subclass the window and handle nonclient mouse and
drawing messages. See the Caption Button demo at
http://www.mvps.org/vbvision/

Mattias

____________________________________________

    http://hem.spray.se/mattias.sjogren/
              Docendo discimus



Mon, 07 Oct 2002 03:00:00 GMT  
 Customizing the title window on a form

Quote:
>What is the way to add a custom item on the title window on a VB form ? I
>need to add
>a custom icon near the close, resize and minimize buttons. There is a
>specific API to do that ?

You may want to have a look at the Caption Buttons demo at  
http://www.mvps.org/vbvision/

HTH,
Bryan

_________________________________________________________
New Vision Software             "When the going gets weird,"
Bryan Stafford                            "the weird turn pro."

MS MVP Visual Basic                   Fear and Loathing in LasVegas



Mon, 07 Oct 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Form window title while form is running

2. Creating Customized User Forms (or Customized letter wizard)

3. Questions on Customized Right-Click Menu and Title Bar

4. Title Bar Customizing?

5. Customizing the msgbox title

6. Customizing title bar

7. Customizing title bar

8. Window keys doesn't work on forms without title

9. How do I create a form/window with no Title Bar

10. VB5: Crystal Reports child-window haven't title in MDI-parent form

11. Show title on the taskbar (the form has no title(=caption))

12. Contacts using old form instead of new customized form

 

 
Powered by phpBB® Forum Software