CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Location
    Minneapolis
    Posts
    98

    [VB] Way to change a form title

    Hello,

    I was wondering if there was a way to change the color of the titlebar at the top of a form dynamically?

    The text is an easy call to me.Caption = "BLAH" but the color is a different story.


    regards,
    Jay

  2. #2
    Join Date
    Dec 2001
    Posts
    6,332

    Re: [VB] Way to change a form title

    I suppose the two main choices would be to catch the window messages and do the drawing yourself, or make your own titlebar.

    Here is an example for making your own:
    http://www.codeguru.com/forum/showth...94#post1019694

    I'm sure PlanetSourceCode.com has examples too.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured