Admin Production ni-theme
Current Publication

UnrouteWinMsgToPanelCallback

LabWindows/CVI

UnrouteWinMsgToPanelCallback

int UnrouteWinMsgToPanelCallback (int panelHandle, unsigned int messageNumber);

Purpose

Call this function to stop routing a Windows message you routed to your panel callback function with the RouteWinMsgToPanelCallback function.

Refer to the function help for RouteWinMsgToPanelCallback for more information.

(Linux) This function is not supported.

Parameters

Input
Name Type Description
panelHandle int The specifier for a particular top–level panel that is currently in memory.

This handle will have been returned by the LoadPanel, NewPanel, or DuplicatePanel function.
messageNumber unsigned int Pass the Windows message for which you want to receive the parameters.

Example: WM_ACTIVATEAPP

Note  You can pass WM_NULL to unroute all messages.

Return Value

Name Type Description
status int The status code that the function returns.

0 indicates success.

A negative value indicates an error.

This function may return a Programmer's Toolbox or UI Library error code. Call GetGeneralErrorString to obtain a text description of the error.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later