home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4758 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!gatech!concert!samba!usenet
  3. From: Sanjay.Vanvari@launchpad.unc.edu (Sanjay Vanvari)
  4. Subject: Re: Graphics cut/copy/paste
  5. Message-ID: <1993Jan8.204322.15339@samba.oit.unc.edu>
  6. Sender: usenet@samba.oit.unc.edu
  7. Nntp-Posting-Host: lambada.oit.unc.edu
  8. Organization: University of North Carolina Extended Bulletin Board Service
  9. References: <1993Jan07.200849.9892@eng.umd.edu>
  10. Date: Fri, 8 Jan 1993 20:43:22 GMT
  11. Lines: 26
  12.  
  13. In article <1993Jan07.200849.9892@eng.umd.edu> equine@eng.umd.edu (Melinda L. Gierisch) writes:
  14. >
  15. >I am looking for sample code that allows the user to grab a portion of
  16. >the screen (not window) and copy it to the clipboard or possibly
  17. >another application.  I know that there are commercial software
  18. >packages that contain this functionality, but we would then need to 
  19. >worry about licensing agreements, etc. when distributing our application. 
  20. >
  21. >If anyone knows the proper commands/functions to use, has written such
  22. >a function, or knows of a reference book that contains this
  23. >information, please let me know.
  24. >
  25. >Thanks in advance,
  26. >Melinda
  27.  
  28.  
  29. what you can do is make a bitmap from the selected portion of the screen
  30. and put the bitmap in the clipboard. For refrence you can read the showdib 
  31. example included with SDK.
  32.  
  33. Sanjay Vanvari
  34. --
  35.    The opinions expressed are not necessarily those of the University of
  36.      North Carolina at Chapel Hill, the Campus Office for Information
  37.         Technology, or the Experimental Bulletin Board Service.
  38.            internet:  laUNChpad.unc.edu or 152.2.22.80
  39.