GetWndMessageFilter Method (IRecord)
Returns the filter for window messages received by the Custom object.
Remarks

GetWndMessageFilter is called once by the OpenText Functional Testing infrastructure at the initialization of the object. The Custom object receives window messages according to the returned filtering level. The default implementation returns WND_MSGS.

Receiving window messages prevents OpenText Functional Testing from handling them. For example, if CHILD_MSGS is returned, OpenText Functional Testing will not receive messages for child windows, and therefore will not create Test Objects for them. You can, however, change this behavior by passing messages back to OpenText Functional Testing. To pass messages on, override CustomServerBase.OnMessage to return a value other than RECORD_HANDLED. Otherwise, OpenText Functional Testing will not handle these messages, and you should override OnMessage in your Custom Server to handle them.

Syntax
'Declaration
 
Function GetWndMessageFilter() As WND_MsgFilter
WND_MsgFilter GetWndMessageFilter()