Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Mar : Dynamic Cursors
| Subject: | Dynamic Cursors |
| Posted by: | "HAROUCHE, David" (metan..@hotmail.com) |
| Date: | Fri, 21 Mar 2008 17:48:28 |
I noticed the fact that there was aTPenRecall and a TBrushRecall class !
I've done a TCanvasRecall class, and that as very usefull !
Then I've created a TCursorRecall class, which takes the new TCursor in
Constructoor, saves the current one, replaces it with the new one, and
restores it at Destructor call ! That works fine...
What I can now do is :
with TCursorRecall.Create(crHourGlass)
do begin
with TCanvasRecall.Create(self.Canvas)
do begin
....
free
end;
Free
end;
What I'dlike to do :
With TCursorRecall('MYCURSOR')......
As MYCURSOR is stored in .DCR of a package....
What's the way...?
DH