This document is archived and information here might be outdated. Recommended version. |
Indicates if the ToolbarMenu uses themed drawing.
[Visual Basic .NET]
Public Property ThemedDrawing As Boolean
[C#]
public bool ThemedDrawing {get; set;}
[C++]
HRESULT get_ThemedDrawing(
Boolean* pVal
);
[C++]
HRESULT put_ThemedDrawing(
VARIANT_BOOL pVal
);
[C++] Parameters pVal [out, retval]
pVal is a parameter of type bool* pVal [in]
pVal is a parameter of type bool
Determines whether items on the ToolbarMenu display themselves using the current Windows XP theme. This property is false by default, and items display themselves on the ToolbarMenu with the Windows Classic look.
If the ToolbarMenu has also been added to the ToolbarControl, the ToolbarControl will override the ThemedDrawing property with the IToolbarControl2::ThemedDrawing property, before the ToolbarMenu is displayed with the IToolbarMenu::PopupMenu method.