Have a look at GetChildAtPoint
. You will have to do some extra work if the controls are contained in a container, see Control.PointToClient
.
More Related Contents:
- Parent Control Mouse Enter/Leave Events With Child Controls
- SendInput doesn’t perform click mouse button unless I move cursor
- Get cursor position with respect to the control – C#
- Winform – determine if mouse has left user control
- CMD command on c#
- Creating a DPI-Aware Application
- DPI Awareness – Unaware in one Release, System Aware in the Other [duplicate]
- How can I run another application within a panel of my C# program?
- Showing a Windows form on a secondary monitor?
- Double Buffering when not drawing in OnPaint(): why doesn’t it work?
- How to color different words with different colors in a RichTextBox while a user is writing and raise an event when that colored text is clicked
- How to share data between forms?
- Is the size of a Form in Visual Studio designer limited to screen resolution?
- How to grant full permission to a file created by my application for ALL users?
- Binding property to control in Winforms
- Detecting if paste event occurred inside a rich text box
- How to get the list of all printers in computer
- string.Format() giving “Input string is not in correct format”
- How is this possible: OnPaint processed while in WaitOne
- What’s the difference between Show(), ShowDialog() and Application.Run() functions? [duplicate]
- How to eliminate flicker in Windows.Forms custom control when scrolling?
- Change language at runtime in C# winform
- ComboBox placeholder text (hint, cue banner, default text)
- How do you change the text in the Titlebar in Windows Forms?
- Winforms: SuspendLayout/ResumeLayout is not enough?
- How to refresh datagridview when closing child form?
- Change ComboBox Border Color in Windows Forms
- How do I make custom controls in C#? [closed]
- Passing a variable between Windows Forms forms
- Exposing events of underlying control