pCon.planner Plugin SDK  Version 8.8.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
X3g::Plugin::Window Class Reference

Plugin host window. More...

Public Member Functions

 ~Window ()
 Call Dispose() if the window shall be destroyed. More...
 
void SetInitialClientArea (double pWidth, double pHeight)
 Sets initial size of window client area in device-independent units. More...
 

Properties

Object^  Content [get, set]
 Allows to access the window content. More...
 
System::String^  Name [get]
 Returns name which identifies the window. More...
 
System::String^  Title [get, set]
 Gets or sets the window caption. More...
 
bool Visible [get, set]
 Gets or sets the window visibility. More...
 

Detailed Description

Plugin host window.

Constructor & Destructor Documentation

X3g::Plugin::Window::~Window ( )

Call Dispose() if the window shall be destroyed.

Member Function Documentation

void X3g::Plugin::Window::SetInitialClientArea ( double  pWidth,
double  pHeight 
)

Sets initial size of window client area in device-independent units.

The initial size of the client area determines the size of a window which becomes visible for the first time. The method doesn't have any effect when called later. Also it has no effect on windows which were restored on application startup. The method should be called within Plugin::X3gSetWindowContent. If initial size of client area is not set explicitely it will be derived from content size. If content has no valid size the window will be created with a default size.

Property Documentation

Object^ X3g::Plugin::Window::Content
getset

Allows to access the window content.

Usually set within X3gSetWindowContent

System:: String^ X3g::Plugin::Window::Name
get

Returns name which identifies the window.

Window name is unique within a plugin.

System:: String^ X3g::Plugin::Window::Title
getset

Gets or sets the window caption.

bool X3g::Plugin::Window::Visible
getset

Gets or sets the window visibility.