Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2009.03.01;
Скачать: CL | DM;

Вниз

Курсоры   Найти похожие ветки 

 
Mr.Vlad   (2007-04-30 23:28) [0]

Для хорошей игры нужны хорошие курсоры. Скачал пару, а как вставить в Delphi не знаю. (Cur1.ani-файл)


 
Мистер Т   (2007-05-01 08:00) [1]

DirectX, OpenGL ?
А если WinAPI - читай документацию:

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.

Syntax
HCURSOR LoadCursorFromFile(
         LPCTSTR lpFileName
);


Parameters

lpFileName
[in] Specifies the source of the file data to be used to create the cursor. The data in the file must be in either .CUR or .ANI format.
If the high-order word of lpFileName is nonzero, it is a pointer to a string that is a fully qualified name of a file containing cursor data.

If the high-order word of lpFileName is zero, the low-order word is a system cursor identifier. The function then searches the [cursors]section in the WIN.INI file for the file associated with the name of that system cursor. For a list of cursor identifiers, see Remarks.

Return Value

If the function is successful, the return value is a handle to the new cursor.

If the function fails, the return value is NULL. To get extended error information, call GetLastError. GetLastError may return the following value:

Value Meaning
ERROR_FILE_NOT_FOUND The specified file cannot be found.

И потом про функции:
* SetCursor
* SetCursorPos
* ShowCursor



Страницы: 1 вся ветка

Текущий архив: 2009.03.01;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.016 c
9-1178024466
Ксандр
2007-05-01 17:01
2009.03.01
Как работать с мышью


15-1231199273
programmer90
2009-01-06 02:47
2009.03.01
Borland C


15-1230633670
KilkennyCat
2008-12-30 13:41
2009.03.01
Всех с новым годом.


15-1231190566
Банког
2009-01-06 00:22
2009.03.01
Параллельные алгоритмы?


4-1206114729
Unit04
2008-03-21 18:52
2009.03.01
програмный вход в систему