LoadCursorFromFile
The LoadCursorFromFile function creates a cursor based on data contained in a file. The file is specified by its name or by a system cursor identifier. The function returns a handle to the newly created cursor. Files containing cursor data may be in either cursor (.CUR) or animated cursor (.ANI) format.HCURSOR LoadCursorFromFile(
LPCTSTR lpFileName // file or identifier
);
SetCursor
The SetCursor function sets the cursor shape. HCURSOR SetCursor(
HCURSOR hCursor // handle to cursor
);
The LoadCursorFromFile function creates a cursor based on data contained in a file. The file is specified by its name or by a system cursor identifier. The function returns a handle to the newly created cursor. Files containing cursor data may be in either cursor (.CUR) or animated cursor (.ANI) format.HCURSOR LoadCursorFromFile(
LPCTSTR lpFileName // file or identifier
);
SetCursor
The SetCursor function sets the cursor shape. HCURSOR SetCursor(
HCURSOR hCursor // handle to cursor
);
解决方案 »
- 请教子窗口关闭的问题~~
- 请问如何读取该类型文件的内容
- 如何在wwDBGrid中某一列中加复选框进行多选?
- 请教:fastreport分页问题
- 数据转换一定要设置一个变量吗?
- 怎样把一段指令或者一个pe文件(exe,dll)加载到内存运行?upx,aspack之类的怎么做的?
- 关于APRO的一个大问题,高分求解
- 关于GetActiveOleObject(ClassName)方法的问题,各位请帮帮忙!
- 怎样让stringgrid和ado相连,让sgrid的数据保存在ado中
- TClientDataSet的删除问题
- 请问大虾我画了一个指针文件。cur如何才能在自己的程序中用上
- 菜鸟我急需用Delphi控制Access数据库的方法,那位大师可以帮我一下?
Screen.Cursors[1] := LoadCursor( hInstance, 'YouCursor' );
Screen.Cursor := 1;
即可