Admin Production ni-theme
Current Publication

RemovePopup

LabWindows/CVI

RemovePopup

int RemovePopup (int removePopup);

Purpose

Removes either the active pop-up panel or all pop-up panels.

You must call this function from the same thread in which you call InstallPopup.

Parameters

Input
Name Type Description
removePopup int Determines which pop-up panels to remove.

Specify a nonzero value or select All in the function panel to remove all pop-up panels.

Specify 0 or select Active Only in the function panel to remove only the active pop-up panel.

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

  • toolbox\XMLSample.cws

    Open example
  • userint\clipbord.cws

    Open example
  • userint\colview.cws

    Open example