S
Strahimir Antoljak
I want to track the cursor location relative to a control on the form. I am
aware of System.Windows.Forms.Cursor.Position which provides absolute cursor
position relative to the screen. With right subtractions of the form
location and the control location it is possible to get the relative cursor
location to the screen.... with one exception - form has a title bar, and
border widths which I do not know the values of. Is there a way to find out
the title bar width and border widths? preferably programmatically? thanks
aware of System.Windows.Forms.Cursor.Position which provides absolute cursor
position relative to the screen. With right subtractions of the form
location and the control location it is possible to get the relative cursor
location to the screen.... with one exception - form has a title bar, and
border widths which I do not know the values of. Is there a way to find out
the title bar width and border widths? preferably programmatically? thanks