Returns the filter for Windows messages to be received by the custom server during a recording session.
The custom server receives Windows messages according to the returned filtering level.
You implement the custom server's handling of these messages in the OnMessage method. The custom server receives the messages before UFT does, and can prevent UFT from handling them.
For example, if CHILD_MSGS is returned, and the OnMessage method returns RECORD_HANDLED, UFT will not receive messages for child controls, and therefore will not create test objects for them during a recording session.
|Visual Basic (Declaration)|
Overridable Function GetWndMessageFilter() As CTL_MsgFilter
virtual CTL_MsgFilter GetWndMessageFilter()
Return ValueA CTL_MsgFilter value.