Get the system colours

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • S Shulman

    #1

    Get the system colours

    Hi

    I can I retrieve the actual colour of the user's system colours but not by
    checking the actual value of e.g. a form to find out the colour of the
    system control just directly from the system settings

    Thank you,
    Shmuel Shulman
    SBS Technolologies LTD


  • Ken Tucker [MVP]

    #2
    Re: Get the system colours

    Hi,

    Take a look at the systemcolors class.
    http://msdn.microsoft.com/library/de...classtopic.asp

    Ken
    ------------------
    "S Shulman" <smshulman@hotm ail.com> wrote in message
    news:OH6K5dxzFH A.3124@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Hi
    >
    > I can I retrieve the actual colour of the user's system colours but not by
    > checking the actual value of e.g. a form to find out the colour of the
    > system control just directly from the system settings
    >
    > Thank you,
    > Shmuel Shulman
    > SBS Technolologies LTD
    >[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Get the system colours

      "S Shulman" <smshulman@hotm ail.com> schrieb:[color=blue]
      > I can I retrieve the actual colour of the user's system colours but not by
      > checking the actual value of e.g. a form to find out the colour of the
      > system control just directly from the system settings[/color]

      Check out 'SystemColors.* '. If you want to draw using these colors, check
      out 'SystemBrushes. *' too.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      Working...