Admin Production ni-theme
Current Publication

HidePanel

LabWindows/CVI

HidePanel

int HidePanel (int panelHandle);

Purpose

Clears a panel from the screen but leaves it in memory.

After you hide a panel, you can still update it programmatically. For example, you can add plots to a graph control on a hidden panel. When you display the panel again, it shows the new plots. A hidden panel cannot generate events.

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 HidePanel function:

  • apps\uirview\uirview.cws

    Open example
  • udp\UDPChat.cws

    Open example
  • userint\panels.cws

    Open example
  • userint\splash.cws

    Open example