Window::Window

Description

Default constructor for a Window object.


Copy constructor for Window object.


Copy constructor for Window object.

Syntax

Window( )

Window( HWND hWnd )

Window( Window & ctrl )

Parameters

hWnd
[input] the pointer of the window.

ctrl
[input] Window of the copy .

Return

Examples

EX1

int Window_Window_ex1()
{
    Window wnd;
    Page pb;
    pb = Project.Pages(); // Get the project's active page
    wnd = pb.GetWindow();
    
    // hide window
    if(wnd)
        wnd.Visible  = false;
    
    // show window
    if(wnd)
        wnd.Visible  = true;
    
    return 0;
}

Remark

See Also

Header to Include

origin.h