Desktop Functions: Smart Device Functions:
|
SetWindowTheme (uxtheme)
C# Signature:
[DllImport("uxtheme.dll", ExactSpelling=true, CharSet=CharSet.Unicode)] VB .NET Signature:
Public Declare Unicode Function SetWindowTheme Lib "uxtheme.dll" (ByVal hWnd As HandleRef, ByVal pszSubAppName As String, ByVal pszSubIdList As String) As Integer User-Defined Types:None. Notes:None. Tips & Tricks:Please add some! Sample Code:using System.Runtime.InteropServices; ... public class MyForm : System.Windows.Forms.Form ... [DllImport("uxtheme", ExactSpelling=true, CharSet=CharSet.Unicode)]
public extern static Int32 SetWindowTheme(IntPtr hWnd, String textSubAppName, String textSubIdList); ... public MyForm() { SetWindowTheme(this.AnyControl.Handle,,); } Alternative Managed API:TODO 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). |
|