I have a VB.NET program where I'm using a WebBrowser control to simulate a timesheet form. For data entry, I'm using a DateTimePicker control that sits on top of the WebBrowser control, which I have programmed to move on top of the cell of the table in the WebBrowser control when the WebBrowser control is clicked on. (If you want to ask why I'm not using a DataGridView, it's for formatting purposes)
My problem is that there are parts of the WebBrowser (headers, the scrollbars) that I want to treat as being above the DateTimePicker, especially while the user is scrolling the WebBrowser. My idea is to somehow provide a rectangle to the DateTimePicker that will make it only draw the part of the control that's within that region. Unfortunately I'm almost brand new to .NET (but not programming in general) and after spending half the day googling I still have no idea how to do it.
Does anyone know how to do this and can show me/point me somewhere that shows me how?