Spread Windows Forms 10.0 Product Documentation
PreFilterMessage Method


Windows Message about to be processed by the message loop
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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

PopupWindowHelperMessageFilter Class
PopupWindowHelperMessageFilter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.