Window::IsZoomed

Description

This function checks if window is maximized.

Syntax

BOOL IsZoomed( )

Parameters

Return

Return TRUE if the window is maximized, otherwise, FALSE..

Examples

EX1

int Window_IsZoomed_ex1()
{
    WorksheetPage myDlg = Project.WorksheetPages(0);
    Window winDlg = myDlg.GetWindow();
    if (winDlg.IsZoomed())
        out_str("window is maximized.");
    else
        out_str("window is not maximized.");
    return 0;
}

Remark

See Also

header to Include

origin.h