Results 1 to 10 of 10

Thread: Office 2003 ToolStrip renderer on Vista

Threaded View

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2009
    Posts
    71

    Office 2003 ToolStrip renderer on Vista

    --- This has been superseded by http://www.vbforums.com/showthread.php?t=582063 ---

    I was really disappointed that the ProfessionalRenderMode on Vista is like Office XP instead of Office 2003. So, I thought I could use System.Reflection to get all properties of the ProfessionalColorTable on XP, write the color values to a text file and make a custom color table with that values. And it worked fine! If anybody is interested on how to achieve the Office 2003 look of ToolStrips (and MenuStrips etc.), add the class in the attached zip file to your project, then add the following in the Load event of your Form:

    Code:
    Dim clrtbl = New Office2003ToolStripColorTable
            ToolStripManager.Renderer = New ToolStripProfessionalRenderer(clrtbl)
    Attached Files Attached Files
    Last edited by pimvdb; Aug 28th, 2009 at 02:32 AM.

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