Results 1 to 2 of 2

Thread: How to get the Windows System Colors

  1. #1
    Hyperactive Member
    Join Date
    May 02
    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 03
    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
  •