Desktop Functions: Smart Device Functions:
|
SetSystemVisualStyle (uxtheme)
C# Signature:
[DllImport("UxTheme.Dll", EntryPoint = "#65", CharSet = CharSet.Unicode)] VB Signature:
<DllImport("UxTheme.DLL", BestFitMapping:=False, CallingConvention:=CallingConvention.Winapi, CharSet:=CharSet.Unicode, EntryPoint:="#65")> _ User-Defined Types:None. Usage:
pszFilename Filename of the .msstyle file containing the VisualStyle
pszColor Name of the color scheme you want to use. It has to be valid for the visual style.
pszSize Name of the size scheme you want to use. It has to be valid in the visual style. Notes:This is an useful functions that appeared in Windows XP SP2. You can use it for changing the curent Visual Style under Windows XP SP2. Tips & Tricks:This functions sets the Visual Style altmost instantaneously and in a persistant way (i.e. the visual style will still be there after a reset) Sample Code:
// This will set your Visual Style to Luna Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|