Вниз
Скачать: 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.01 c
1-90869
Leo_
2002-03-17 12:48
2002.03.28
Ping


1-90888
kronos
2002-03-15 13:03
2002.03.28
Что это означает?


1-90901
kull
2002-03-18 11:21
2002.03.28
Народ! срочно нужна помощь по Mail Slot!


3-90808
mark-a
2002-03-02 13:57
2002.03.28
Intebase


3-90775
lel
2002-02-27 16:37
2002.03.28
DataModule премущества и недостатки, если они есть конечно???




   Наверх