How to get the Windows System Colors-VBForums
Results 1 to 2 of 2

Thread: How to get the Windows System Colors

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    279

    How to get the Windows System Colors

    Use the System.Drawing.SystemColors namespace to get the Windows system colors.

    Code:
    '' This retrieves the HighlightText color and assigns it to the BackColor of a form
    
    myForm.BackColor = System.Drawing.SystemColors.HighlightText

  2. #2
    Banned
    Join Date
    Jul 2003
    Location
    New delhi
    Posts
    143
    to handle the window color you can take the help ofGDI + panel

    like


    Beside the fact that GDI+ API is easier and flexible than GDI, there are many more new features added to the API. Some of the new features GDI+ offers are

    Improved Colors. Now GDI+ comes with more colors and these are compatible with other colors such as Windows etc.
    Antialiasing support
    Gradient brushes
    Splines
    Transformation and Matrices
    Scalable reasons
    Alpha Blending



    biswajit das

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.