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

Вниз

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

 
Ик сик   (2003-04-03 15:19) [0]

Как создать свой курсор мыши, чтобы до его удаления он заменил обычный курсор для всех приложений? И как его потом удалить?


 
Ик сик   (2003-04-03 15:40) [1]

Неужели так сложно :)))


 
DVM ©   (2003-04-03 15:43) [2]

Другие приложения тоже могут захотеть изменить вид курсора


 
Jel ©   (2003-04-03 15:48) [3]

The SetSystemCursor function replaces the contents of the system cursor specified by id with the contents of the cursor specified by hcur, and then destroys hcur. This function lets an application customize the system cursors.


 
KADAN   (2003-04-03 16:02) [4]

screen.cursors... по-моему так...


 
Ик сик   (2003-04-03 16:20) [5]

Я нарисовал курсор. Как мне добавить его в программу, чтобы потом передать его хендл в SetSystemCursor?


 
Jel ©   (2003-04-03 16:23) [6]

The CreateCursor function creates a cursor having the specified size, bit patterns, and hot spot.

HCURSOR CreateCursor(

HINSTANCE hInst, // handle to application instance
int xHotSpot, // horizontal position of hot spot
int yHotSpot, // vertical position of hot spot
int nWidth, // cursor width
int nHeight, // cursor height
CONST VOID *pvANDPlane, // pointer to AND bitmask array
CONST VOID *pvXORPlane // pointer to XOR bitmask array
);


 
Ик сик   (2003-04-03 16:43) [7]

Ты не мог бы привести пример, как использовать курсор из файла .cur?


 
KADAN   (2003-04-05 00:54) [8]


screen.Cursors[-22]:=LoadCursorFromFile("MyCur.cur");




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

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

Наверх




Память: 0.48 MB
Время: 0.018 c
3-54447
jen_bond
2003-03-28 17:38
2003.04.17
Проблемма с многопользовательской БД.


3-54456
DenKop
2003-03-28 18:22
2003.04.17
FireBird TIBQuery SELECT


3-54448
Officeman
2003-03-26 19:39
2003.04.17
Фильтрация!


14-54807
Романов Р.В.
2003-03-08 20:49
2003.04.17
---|Ветка была без названия|---


3-54450
AlexA
2003-03-28 14:05
2003.04.17
структуры таблицы и уникальный индекс