Re: how to call print screen and how to read window's clip board
- From: Andy <spamtrap@xxxxxxxxxx>
- Date: Sun, 03 Jun 2007 09:26:29 -0700
On Jun 3, 7:06 am, NoS...@xxxxxxxxxxx (Bob Masta) wrote:
On Sat, 02 Jun 2007 18:00:43 -0700, Terence <spamt...@xxxxxxxxxx>
wrote:
It's a GENERAL problem requirement.
The code we have that we wish to modify is our own commercial code
sent to clients.
We just want to add the ability for the cliente to cut and paste
between our DOS versions of our software's screen contents and their
own WORD or other Windows softwares's screen contents.
(they already do it internal to the OS used).
That saved from WORD hopefully will be converted by us to ascii. That
pasted to the clipboard in our software will probably be Word-coded
international ascii table ascii with unspecified font, but we could
convert it to Rich Text Format or anything else simple.
But suggestions are welcome, but noting that the code we use will have
to be written by us to be legal.
Sounds to me like you don't really want a PrintScreen type of
capture, which (under Windows) results in a bitmap. You
just want to export the ASCII text from your DOS app to
the clipboard, and back. You can already do this when
running your app in a window on the desktop by clicking
on the little Mark, Copy, and Paste icons in that window's toolbar.
If your clients normally run your app full-screen, they'd have to hit
ALT+Enter to get to the desktop window, do the Cut/Paste,
and hit ALT+Enter to get back. No mods to your app are
needed.
But I agree it would be better to have programmatic access
to the clipboard from within your app. I've never tried
to communicate between DOS and Windows... but it sure
seems like it should be possible!
Best regards,
Bob Masta
D A Q A R T A
Data AcQuisition And Real-Time Analysis
www.daqarta.com
Scope, Spectrum, Spectrogram, Signal Generator
Science with your sound card!
Sounds like it would take a rewrite of the code.
Snipper.com does what he wants but you have to manually select the
text with the mouse
and it saves to a text file. The source is available
Sounds like a doable custom job.
Andy
.
- Follow-Ups:
- References:
- how to call print screen and how to read window's clip board
- From: Terence
- Re: how to call print screen and how to read window's clip board
- From: Andy
- Re: how to call print screen and how to read window's clip board
- From: Terence
- Re: how to call print screen and how to read window's clip board
- From: Bob Masta
- how to call print screen and how to read window's clip board
- Prev by Date: Re: [Clax86list] When Knuth and I were young - Part 5
- Next by Date: Re: Nasm 0.99.00
- Previous by thread: Re: how to call print screen and how to read window's clip board
- Next by thread: Re: how to call print screen and how to read window's clip board
- Index(es):
Relevant Pages
|