GetCurrentThemeName Method
In This Topic
Gets the current theme name.
Syntax
'Declaration
Public Shared Sub GetCurrentThemeName( _
ByVal As StringBuilder, _
ByVal As Integer, _
ByVal As StringBuilder, _
ByVal As Integer, _
ByVal As StringBuilder, _
ByVal As Integer _
)
'Usage
Dim pszThemeFileName As StringBuilder
Dim cchMaxNameChars As Integer
Dim pszColorBuff As StringBuilder
Dim cchMaxColorChars As Integer
Dim pszSizeBuff As StringBuilder
Dim cchMaxSizeChars As Integer
VisualStyle.GetCurrentThemeName(pszThemeFileName, cchMaxNameChars, pszColorBuff, cchMaxColorChars, pszSizeBuff, cchMaxSizeChars)
public static void GetCurrentThemeName(
StringBuilder ,
int ,
StringBuilder ,
int ,
StringBuilder ,
int
)
Parameters
- pszThemeFileName
- Theme name
- cchMaxNameChars
- Maximum number of characters in the name
- pszColorBuff
- Buffer for the color name
- cchMaxColorChars
- Maximum number of characters in the color
- pszSizeBuff
- Buffer for the size
- cchMaxSizeChars
- Maximum number of characters in the size
See Also