'Declaration
Public Shared Function ControlContainsMouse( _ ByVal c As System.Windows.Forms.Control, _ ByVal firstUnder As System.Boolean _ ) As System.Boolean
'Usage
Dim c As System.Windows.Forms.Control Dim firstUnder As System.Boolean Dim value As System.Boolean value = NControlHelper.ControlContainsMouse(c, firstUnder)
public static System.bool ControlContainsMouse( System.Windows.Forms.Control c, System.bool firstUnder )
Parameters
- c
- The control to examine.
- firstUnder
- If this flag is true the method will examine the control only if it is the direct one under the cursor.
Return Value
True if the control's region contains the cursor, false otherwise.