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.

Parameters

Input
Name Type Description
panelHandle integer 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 integer Pass the Windows message you no longer want to receive in your panel callback function.

Example: WM_ACTIVATEAPP

Note  You can pass WM_NULL to unroute all messages.

Return Value

Name Type Description
status integer 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.