Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Easy way to use Skins (visual styles)

Easy way to use Skins (visual styles)

Scheduled Pinned Locked Moved Windows Forms
csharpwpfcomdesigntutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sodevrom
    wrote on last edited by
    #1

    Hello, is it a good way (and easy) to use skins (visual styles) in c# with .net ? I have a custom control called XPExplorer Bar : http://www.codeproject.com/KB/miscctrl/XPTaskBar.aspx It's a great control and to use a skin with it (from a .dll that contains an UI file) I just use something like : taskPane1.UseCustomTheme("themes/4.dll"); If I use the above line the visual style from the DLL is applied to the control. I would like to do the same with the TopMenu (the menu strip) and other buttons/controls ... I hope some one can guide me with this, thanx

    T 1 Reply Last reply
    0
    • S sodevrom

      Hello, is it a good way (and easy) to use skins (visual styles) in c# with .net ? I have a custom control called XPExplorer Bar : http://www.codeproject.com/KB/miscctrl/XPTaskBar.aspx It's a great control and to use a skin with it (from a .dll that contains an UI file) I just use something like : taskPane1.UseCustomTheme("themes/4.dll"); If I use the above line the visual style from the DLL is applied to the control. I would like to do the same with the TopMenu (the menu strip) and other buttons/controls ... I hope some one can guide me with this, thanx

      T Offline
      T Offline
      Thomas Stockwell
      wrote on last edited by
      #2

      It is not as simple as that for using visual styles in applications as everything is drawn using the uxtheme WinAPI within Windows XP/Vista. One of my articles might be able to assist with a different method of theming controls with WinForms. Theming in general gets easier with WPF, but even then you are not able to alter aspects using visual styles of the uxtheme engine.

      Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups