[[Property:title|Cursors]] [[Property:weight|-9]] [[Property:uuid|2f1abcdd-182f-3fdf-27b9-861d1c2e2167]] [[Image:cursors|cursors]]

==Compiling== To compile the example: * Launch EiffelStudio. * Click '''Add project''' * Browse to ''$ISE_EIFFEL\examples\wel\cursors\''. * Choose ''cursors.ecf'' * Choose the location where the project will be compiled, by default the same directory containing the configuration file. * Click '''OK'''. * After the example compiles, select menu path "Project -> Freeze..." to freeze the project. This is necessary to include the compiled resource (.rc) file. ==Running== After launching the program, a window will be displayed as illustrated above. Selecting one of the cursor types from the "Cursors" menu will cause the selected cursor to be displayed when the mouse pointer is over the client area of the window. ==Under the Hood== The feature on_menu_command has been redefined in MAIN_WINDOW to create the appropriate cursor when a menu selection is made, while on_set_cursor has been redefined to update the style of the displayed cursor. This sample contains the following classes: * CURSORS_DEMO * MAIN_WINDOW * APPLICATION_IDS