Image2. Cursor:=1;
In theory, in the form. Oncreat function will have the above two sentences which can realize the mouse moves into the image will be changed to stroke, but in fact did not change, if written Image2. Cursor:=crHandPoint; Also can turn into the shape of the hand of the mouse, is this why? How to become a stroke? thank you
CodePudding user response:
To ensure that the resource file has been correctly compile process typeSo try directly:
Image2. Cursor:=LoadCursor (hInstance, "pencil");