Returns a hit test code indicating whether the point is contained in the background of the current visual style element and within the specified region.
- dc
- The System.Drawing.IDeviceContext this operation will use.
- backgroundRectangle
- A System.Drawing.Rectangle that contains the background of the current visual style element.
- hRgn
- A Windows handle to a System.Drawing.Region that specifies the bounds of the hit test area within the background.
- pt
- The System.Drawing.Point to test.
- options
- A bitwise combination of the System.Windows.Forms.VisualStyles.HitTestOptions values.
A System.Windows.Forms.VisualStyles.HitTestCode that describes where pt is located in the background of the current visual style element.