🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2615

Re: Graphics cut/copy/paste

#2615
From: Sanjay Vanvari
Date: Fri, 08 Jan 1993 20:43
26 lines
1626 bytes
In article <1993Jan07.200849.9892@eng.umd.edu> equine@eng.umd.edu (Melinda L. Gierisch) writes:
>
>I am looking for sample code that allows the user to grab a portion of
>the screen (not window) and copy it to the clipboard or possibly
>another application.  I know that there are commercial software
>packages that contain this functionality, but we would then need to 
>worry about licensing agreements, etc. when distributing our application. 
>
>If anyone knows the proper commands/functions to use, has written such
>a function, or knows of a reference book that contains this
>information, please let me know.
>
>Thanks in advance,
>Melinda


what you can do is make a bitmap from the selected portion of the screen
and put the bitmap in the clipboard. For refrence you can read the showdib 
example included with SDK.

Sanjay Vanvari
--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  laUNChpad.unc.edu or 152.2.22.80
Technical Details
Message-ID: <1993Jan8.204322.15339@samba.oit.unc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!concert!samba!usenet
References: <1993Jan07.200849.9892@eng.umd.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!concert!samba!usenet
From: Sanjay.Vanvari@launchpad.unc.edu (Sanjay Vanvari)
Subject: Re: Graphics cut/copy/paste
Message-ID: <1993Jan8.204322.15339@samba.oit.unc.edu>
Sender: usenet@samba.oit.unc.edu
Nntp-Posting-Host: lambada.oit.unc.edu
Organization: University of North Carolina Extended Bulletin Board Service
References: <1993Jan07.200849.9892@eng.umd.edu>
Date: Fri, 8 Jan 1993 20:43:22 GMT
Lines: 26