Making screen shot from one application scanned by my cdk application ?

forum.cdk (1998-2005) & forum.td.cdk (2005-2010)
Olivier Andre

Making screen shot from one application scanned by my cdk application ?

Post by Olivier Andre » 19 Oct 2005, 09:31

 Posted by:  Olivier ANDRE 

hi

I wrote one cdk application for scanning app and making app documentation,
and i want to create files containing screen shot of
the top level windows

Please, help me ... I have about 400 files to create ...

best regards

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2171
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Making screen shot from one application scanned by my cdk application ?

Post by Jeff Luther » 19 Oct 2005, 17:14

 Posted by:  Jeff Luther 

Here is a screen (region, window, all, etc.) capture program I can highly
recommend: http://www.techsmith.com/products/snagit/default.asp

And while I do not see such an interface on that web page, it might be
possible that they have a DLL interface, for example, that would allow
you to call a function to capture and save to disk the current window
with the focus.

Even doing 400 (!) manually could well be easier for you using SnagIt.

Best Regards,
Jeff Luther/PC Design
www.pulpcards.com/gupta/

Olivier Andre

Making screen shot from one application scanned by my cdk application ?

Post by Olivier Andre » 20 Oct 2005, 21:14

 Posted by:  Olivier ANDRE 

Thanks for your help Jeff, but I must explore App sources, I can't run all
applications for making screen shot : too many risks (theses applications
run with production database, i cant' run these and i'm not sure to pass
into all the screens...)

I must open App Sources with Centura Cdk, read the top level windows name (I
know how to do that), and make screen-shot : I don't not how to do that :-(

Any other idea ?

best regards

Oliv.

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2171
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Making screen shot from one application scanned by my cdk application ?

Post by Jeff Luther » 21 Oct 2005, 00:03

 Posted by:  Jeff Luther 

This should get you closer. Between the printscreen demo. I had (don't know
who from) and C. Astor's capture demo--this shows how to write a bitmap to
a file--you might have what you need. Again, both are for TD2005 (aka v4)
and I changed Christian's CSTRUCTL calls to CStructGetLong() from the older
CStructGetInt().

- Jeff


Attachment: print_screen_demos.zip

Joe Williams

Making screen shot from one application scanned by my cdk application ?

Post by Joe Williams » 24 Oct 2005, 08:04

 Posted by:  Joe Williams 


http://www.techsmith.com/products/devtools/snagitcomserver.asp

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2171
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Making screen shot from one application scanned by my cdk application ?

Post by Jeff Luther » 24 Oct 2005, 17:22

 Posted by:  Jeff Luther 

Thanks for the link, Joe! I'm glad to see they support such an interface.

- Jeff

Olivier Andre

Making screen shot from one application scanned by my cdk application ?

Post by Olivier Andre » 24 Oct 2005, 20:52

 Posted by:  Olivier ANDRE 

Sorry, but my problem is not well explained
it is the following:
how to draw (on the screen of courses :-) ) the top levels windows with
my Centura executable (I manage it) wich scan centura sources (I don't
manage them, but I have sources of them) ?

Best regards

8-P Oliv

Return to “td.cdk”

Who is online

Users browsing this forum: [Ccbot] and 0 guests