Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

How to save the cursor from a resource to a variable in a file (cur)? Find similar branches


Delphimun   (2001-12-15 13:43) [0]

I upload like this:
var Curs: HCursor; CN: string;
begin
CN: = "CUR" + # 0;
{"CUR" is Name from Res file}
Curs: = LoadCursor (hInstance, @ CN [1]);
Screen.Cursors [crHandPoint]: = Curs;
Now I need to save this cursor to disk.



Gayrus   (2001-12-20 03:36) [1]

And I save like this :):
var R: TResourceStream;
begin
R: = TResourceStream.Create (hInstance, "CUR", "CURSOR");
R.SaveToFile ("cur1.cur");
R.Free;



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.54 MB
Time: 0.025 c
4:22481
Stropal
2001-11-03 10:44
2002.01.08
Work printers directly. Advise


4:22467
Shadow
2001-11-01 15:46
2002.01.08
TOPMOSTS


3:21941
jin
2001-11-30 14:56
2002.01.08
Help please create an IB SQL procedure from the application


1:22127
Delphimun
2001-12-15 13:43
2002.01.08
How to save the cursor from a resource to a variable in a file (cur)?


1:22136
Dorixe
2001-12-20 09:40
2002.01.08
Proekt





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish