Admin Production ni-theme
Current Publication

DisplayPanel

LabWindows/CVI

DisplayPanel

int DisplayPanel (int panelHandle);

Purpose

Displays a panel on the screen.

When a panel is visible and not dimmed, the user can operate it and generate events from it. Calling DisplayPanel when a panel is already displayed causes the panel to be completely redrawn.

Refer to the LoadPanel function reference for an example of how to use this and other panel functions.

Parameters

Input
Name Type Description
panelHandle int Specifier for a particular panel that is currently in memory. You can obtain this handle from functions such as LoadPanel and NewPanel.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Examples

Refer to the following examples that use the DisplayPanel function:

  • userint\panels.cws

    Open example
  • userint\splash.cws

    Open example