Home > Back-end >  Change the mouse shape to stroke
Change the mouse shape to stroke

Time:10-22

Screen. Your Cursors [1] :=LoadCursor (hInstance, "pencil");
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 type
So try directly:
Image2. Cursor:=LoadCursor (hInstance, "pencil");
  • Related