ISimpleFrameSite::PostMessageFilter method

Sends the simple frame site a message that is received by a control's own window after the control has processed the message.

Syntax

HRESULT PostMessageFilter(
  HWND    hWnd,
  UINT    msg,
  WPARAM  wp,
  LPARAM  lp,
  LRESULT *plResult,
  DWORD   dwCookie
);

Parameters

hWnd

A handle of the control window receiving the message.

msg

The message received by the simple frame site.

wp

The WPARAM of the message.

lp

The LPARAM of the message.

plResult

A pointer to the variable that receives the result of the message processing.

dwCookie

The value that was returned by ISimpleFrameSite::PreMessageFilter through its pdwCookie parameter.

Return Value

This method can return the following values.

Return code Description
S_OK
The site processed the message.
S_FALSE
The site did not process the message.
E_NOTIMPL
The site does not filter any messages.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See Also

ISimpleFrameSite