Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / PopupWindowHelperMessageFilter Class / PreFilterMessage Method
Windows Message about to be processed by the message loop


In This Topic
    PreFilterMessage Method
    In This Topic
    Checks the message loop for mouse messages while the popup window is displayed. If one is detected the position is checked to see if it is outside the form, and the owner is notified if so.
    Syntax
    'Declaration
     
    
    Public Function PreFilterMessage( _
       ByRef m As Message _
    ) As Boolean
    'Usage
     
    
    Dim instance As PopupWindowHelperMessageFilter
    Dim m As Message
    Dim value As Boolean
     
    value = instance.PreFilterMessage(m)
    public bool PreFilterMessage( 
       ref Message m
    )

    Parameters

    m
    Windows Message about to be processed by the message loop

    Return Value

    true to filter the message, false otherwise. This implementation always returns false.
    See Also