PEWindowOptions

PEWindowOptions contains information related to preview window options. This structure is used by PEGetWindowOptions, and PESetWindowOptions, to get and set preview window contents.

C Syntax
typedef struct PEWindowOptions {
    WORD StructSize;
    short hasGroupTree;
    short canDrillDown;
    short hasNavigationControls;
    short hasCancelButton;
    short hasPrintButton;
    short hasExportButton;
    short hasZoomControl;
    short hasCloseButton;
    short hasProgressControls;
    short hasSearchButton;
    short hasPrintSetupButton;
    short hasRefreshButton;
    short showToolbarTips;
    short showDocumentTips;
short hasLaunchButton;
} PEWindowOptions;
Members

Each member of type short can be set to TRUE, FALSE, or PE_UNCHANGED for no change.

StructSize

Specifies the size of the PEWindowOptions structure. Initialize this member to PE_SIZEOF_WINDOW_OPTIONS.

hasGroupTree

Specifies whether or not the Group Tree will appear in the window. Whether or not the preview window has a group tree is determined by two flags. One is this option (hasGroupTree) and the other is the hasGroupTreeOption in Crystal Reports (File|Report Options dialog box). By default, this value is set to False.

canDrillDown

Specifies whether or not drill-down capabilities will be active in the window. By default, this value is set to False.

hasNavigation
Controls

Specifies whether or not navigation controls will appears in the window. By default, this value is set to True.

hasCancelButton

Specifies whether or not a Cancel button will appear in the window. By default, this value is set to True.

hasPrintButton

Specifies whether or not a Print button will appear in the window. By default, this value is set to True.

hasExportButton

Specifies whether or not an Export button will appear in the window By default, this value is set to True.

hasZoomControl

Specifies whether or not zoom controls will appear in the window. By default, this value is set to True.

hasCloseButton

Specifies whether or not a Close button will appear in the window. By default, this value is set to False. If canDrillDown is set to True, CRPE will turnhasCloseButton on unless you set it to False.

hasProgressControls

Specifies whether or not progress controls will appear in the window. By default, this value is set to True.

hasSearchButton

Specifies whether or not a Search button will appear in the window. By default, this value is set to False.

hasPrintSetupButton

Specifies whether or not a Print Setup button will appear in the window.

hasRefreshButton

Specifies whether or not a Refresh button will appear in the window.

showToolbarTips

Specifies whether or not Tooltips are shown on the Toolbar. By default, this value is set to True (default is visible tooltips on toolbar).

showDocumentTips

Specifies whether or not Tooltips are shown on the Document. By default, this value is set to False (default is hidden tooltips on document).

hasLaunchButton

Specifies whether or not a button to launch Seagate Analysis is placed on the toolbar. By default, this value is set to False.

Note:    Seagate Analysis is now known as Crystal Analysis.

VB Type Listing
Type PEWindowOptions
    StructSize As Integer
    hasGroupTree As Integer
    canDrillDown As Integer
    hasNavigationControls As Integer
    hasCancelButton As Integer
    hasPrintButton As Integer
    hasExportButton As Integer
    hasZoomControl As Integer
    hasCloseButton As Integer
    hasProgressControls As Integer
    hasSearchButton As Integer
    hasPrintSetupButton As Integer
    hasRefreshButton As Integer
    showToolbarTips As Integer
    showDocumentTips As Integer
End Type
Delphi Recor.d Listing
type
    PEWindowOptions = record
        StructSize: Word;
        hasGroupTree: Smallint;
        canDrillDown: Smallint;
        hasNavigationControls: Smallint;
        hasCancelButton: Smallint;
        hasPrintButton: Smallint;
        hasExportButton: Smallint;
        hasZoomControl: Smallint;
        hasCloseButton: Smallint;
        hasProgressControls: Smallint;
        hasSearchButton: Smallint;
        hasPrintSetupButton: Smallint;
        hasRefreshButton: Smallint;
        showToolbarTips: Smallint;
        showDocumentTips: Smallint;
    end;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com