Version

DrawWindowCaption Method

Renders a themed window caption background.
Syntax
'Declaration
 
Public Function DrawWindowCaption( _
   ByVal smallCaption As Boolean, _
   ByVal windowState As ThemedWindow.WindowState, _
   ByVal enabledState As ThemedWindow.WindowEnabledState, _
   ByRef drawParams As UIElementDrawParams, _
   ByVal rect As Rectangle, _
   ByVal clipRect As Rectangle _
) As Boolean

Parameters

smallCaption
True if this is a small caption - e.g. ToolWindow
windowState
State of the window.
enabledState
Enabled state of the window.
drawParams
The UIElementDrawParams used to provide rendering information.
rect
Rectangle of the element.
clipRect
Clip rectangle

Return Value

A boolean indicating if the themed element was rendered.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also