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.81 MB
Time: 0.031 c
1-22192
Dreamer
2001-12-15 19:34
2002.01.08
How to pull out seconds from Time and translate


3-21903
Victor Tsay
2001-11-29 10:02
2002.01.08
Replication


1-22026
Romualds stashans
2001-12-18 11:07
2002.01.08
How can Delphi run * .exe with ....


6-22276
Lamok
2001-10-05 23:13
2002.01.08
Sending data to the Internet


1-22161
Yegor Bulychev
2001-12-19 22:13
2002.01.08
Memo help!





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 Español 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