RemoveGadgetMessageHandler

Core

RemoveGadgetMessageHandler removes the specified hgadHandler from the list of message handlers attached to hgadMsg. Only the first hgadHandler with a corresponding nMsg will be removed.

BOOL RemoveGadgetMessageHandler(
    HGADGET hgadMsg,            // Gadget to detach from
    MSGID nMsg,                 // Message being watched for
    HGADGET hgadHandler)        // Gadget being notified
);

Parameters

hgadMsg
[in] Gadget to detach
nMsg
[in] Message to watch for
hgadHandler
[in] Gadget being notified

Return Values

Handler was successfully removed.

See Also

AddGadgetMessageHandler,SendGadgetMessage, RegisterGadgetMessage, RegisterGadgetMessageString, UnregisterGadgetMessage, UnregisterGadgetMessageString,  GMSG, Gadget Messaging

 

 


Internal Only

Build on Friday, March 17, 2000
Copyright © 2000 by Microsoft Corporation.  All rights reserved
Send feedback to Jeff Stall