ISimpleFrameSite::PostMessageFilter method (ocidl.h)
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(
[in] HWND hWnd,
[in] UINT msg,
[in] WPARAM wp,
[in] LPARAM lp,
[out] LRESULT *plResult,
[in] DWORD dwCookie
);
Parameters
[in] hWnd
A handle of the control window receiving the message.
[in] msg
The message received by the simple frame site.
[in] wp
The WPARAM of the message.
[in] lp
The LPARAM of the message.
[out] plResult
A pointer to the variable that receives the result of the message processing.
[in] 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 |
---|---|
|
The site processed the message. |
|
The site did not process the message. |
|
The site does not filter any messages. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |