Вниз
Скачать: CL | DM;

Cursor   Найти похожие ветки 

← →
Dimitriy   (2002-03-15 18:17) [0]

Очень хочу для своей программы сделать курсор, а т.к. в Delphi мне до аса далеко, то может сможет кто-то подсказать, как использовать курсор, заранее подготовленный в Имаж Эдиторе?


← →
Nikolay ©   (2002-03-15 19:24) [1]

В своей программе находите строку
{$R *.DFM}
и под ней добавляете:
{$R MyRes.res}

пример из хелпа:

This example shows how to add custom cursors to an application. It assumes that a custom cursor with the name NewCursor has been added to the resources (.RC file) of the application. The following code makes this cursor available to the application via the constant crMyCursor, and sets it as the global cursor to the application.

const
crMyCursor = 5;

procedure TForm1.FormCreate(Sender: TObject);
begin
Screen.Cursors[crMyCursor] := LoadCursor(HInstance, "NEWCURSOR");
Cursor := crMyCursor;
end;



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

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.009 c
3-90799
KHunter
2002-03-04 15:57
2002.03.28
EhLib


3-90766
Malder
2002-02-27 16:58
2002.03.28
Создание обзоров


14-91056
panov
2002-02-12 09:05
2002.03.28
Хорошо жить!


1-90949
Kettle of delphi
2002-03-14 03:24
2002.03.28
Про точные интервалы времени.....................


1-90968
Tadeush
2002-03-14 12:58
2002.03.28
Focus




   Наверх