Admin Production ni-theme
Current Publication

MessagePopup

LabWindows/CVI

MessagePopup

int MessagePopup (char title[], char message[]);

Purpose

Displays a message in a dialog box and waits for the user to select the OK button.

Parameters

Input
Name Type Description
title char [] Title of the dialog box.
message char [] Message to display in the dialog box.

To display a multi-line message, embed newline characters (\n) in the message string.

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

  • apps\uirview\uirview.cws

    Open example
  • userint\ClockDigitalGraph.cws

    Open example
  • userint\databinding.cws

    Open example
  • userint\ICOViewer.cws

    Open example
  • userint\popups.cws

    Open example
  • userint\custctrl\password\pwsample.cws

    Open example
  • utility\oneinst.cws

    Open example