BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

picture.registerclipboardformat

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Nikolay
Guest





PostPosted: Wed Mar 09, 2005 9:31 pm    Post subject: picture.registerclipboardformat Reply with quote




I am trying to register a clipboard format
of a windows meta file in order to gat a picture from the
clipboard

picture.registerclipboardformat(cf_metafilepict,tmetafile);
and when try to get a picture from clipboard with
loadfromclipboard I get an error where is my mistake?

Thanks in advance.

Back to top
Peter Below (TeamB)
Guest





PostPosted: Thu Mar 10, 2005 7:36 pm    Post subject: Re: picture.registerclipboardformat Reply with quote



In article <422f6b4f$1 (AT) newsgroups (DOT) borland.com>, Nikolay wrote:
Quote:
I am trying to register a clipboard format
of a windows meta file in order to gat a picture from the
clipboard

picture.registerclipboardformat(cf_metafilepict,tmetafile);
and when try to get a picture from clipboard with
loadfromclipboard I get an error where is my mistake?

You do not need to do this, TMetafile knows how to load itself from the
clipboard. Just try a metafile.Assign(clipboard).


--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.