|
PROJECT REQUIREMENT The user selects a tickmark from a list of bitmap images (i.e. checkmarks, pluses, and other various symbols) populating a grid. When the user clicks on a row, the mouse changes to the selected image. With the new mouse cursor, the user moves to and clicks on one of any various other controls populating the form (textboxes, comboboxes, datetimepickers and numericupdowns--each control has an invisible picturebox to its right). When the user clicks on one of the four "valid" controls, the picturebox is populated with the cursor's equivalent bitmap image and the cursor returns to the default arrow.
ISSUE Since every control has a cursor property, can all controls (including groupboxes, panels etc) inherit just the cursor property of the form? If so, how? Then I can just write code to manipulate the form's cursor. I can make the above functionality work the "hard and dirty way" by iterating through all the controls on the click events but am trying to improve my .Net skills and find a more elegant approach. I would appreciate any advice on this matter.
--Charles W.
|