LoadCursor and LoadCursorFromFile not work
Original Reporter info from Mantis: SnakeBR
-
Reporter name: Wagner Leandro
Original Reporter info from Mantis: SnakeBR
- Reporter name: Wagner Leandro
Description:
In Lazarus this code dosn't show the cursor:
Screen.Cursors[5]:=LoadCursorFromFile('Cursor_3.cur');
Form1.Cursor := 5;
In FreePascal it's work:
var
WindowClass: WNDCLASSW;
begin
WindowClass.hCursor := LoadCursorFromFile('Cursor_3.cur');
Mantis conversion info:
- Mantis ID: 1547
- OS: Windows XP
- OS Build: SP2
- Platform: i386
- Version: 0.9.11 (SVN)
- Fixed in version: 0.9.21 (SVN)
- Fixed in revision: 10446 (#b3f981c4)
- Target version: post 1.0