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.55 MB
Time: 0.033 c
1-22049
greenrul
2001-12-17 18:34
2002.01.08
Как


14-22317
Tosov
2001-10-31 23:58
2002.01.08
Delphi 6


1-22192
Dreamer
2001-12-15 19:34
2002.01.08
How to pull out seconds from Time and translate


4-22510
Ilya
2001-10-14 18:06
2002.01.08
Change printer properties


4-22471
bsFrame
2001-11-02 11:42
2002.01.08
Component





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