|
/////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2003 - Don Kackman
//
// Distribute and change freely, but please don't remove my name from the source
//
// No warrantee of any kind, express or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the
// user.
//
// The class CVisualStylesXp and the conept of theme browser app are borrowed from
// David Y Zhao. His example can be seen at http://www.codeproject.com/w2k/xpvisualstyle.asp
//
// questions - contact me at dkackman_2000@yahoo.com
//
#pragma once
#include "ThemePart.h"
#include "ThemeItemCollection.h"
namespace System
{ namespace Windows
{ namespace Forms
{ namespace Themes
{
//
// PartsCollection represent the records the represent the parts of a window class
//
[System::Reflection::DefaultMember("Item")]
__gc public __sealed class PartsCollection : public ThemeItemCollection
{
public private:
PartsCollection( int parentIndex, IHasThemePartId* parent );
private:
~PartsCollection(void);
public:
__property ThemePart* get_Item( int index );
__property ThemePart* get_Item( String* partName );
[System::ComponentModel::EditorBrowsable(EditorBrowsableState::Never)]
System::Object* GetEnumeratorItem( int index ){ return get_Item( index ); }
private:
IHasThemePartId* m_Parent; // the containing WindowTheme
};
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.