472,102 Members | 2,019 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

[C#.NET] Screenshot a Window

Hello,

I need some help please. I already know how to capture the full screen, because the .NET framework simplifies it a lot. Anyway, I was wondering, is it possible to capture a Window / Application?

For Example, I want it to work like this:

1. User selects 'WINDOW Screenshot' Mode.
2. They select Capture Screenshot.
3. They have to then click the window they want to capture.

And thats all I need basically, but I think I need the software to find out the mouse position and all that.

All help will be appreciated :),

Thanks a lot.
Jun 24 '07 #1
5 7893
kenobewan
4,871 Expert 4TB
Here is an article that may help:
Capture a Screen Shot
Jun 25 '07 #2
Thanks!

But jeej, it looks quite complicated :). I know to capture the full desktop is really easy, and only uses like 6 lines or something.

Thanks again.
Jun 25 '07 #3
Thanks!

But jeej, it looks quite complicated :). I know to capture the full desktop is really easy, and only uses like 6 lines or something.

Thanks again.
Hi..
I am in need to capture a full desktop..
Ur help is always appreciated..

Regds,
Chinnu
Jul 16 '07 #4
@kvalasa
Take fullscreenshot
Source: http://pastebin.com/f4045d6f4
Project: <removed>
How to use:
ImageCapture(Width, Height, X, Y); [returns Image]
ImageSave(Image Img);

I'm also trying to capture just a window, but I don't know how to get the active window, if I could get the window I could just get it's bounds and send to my function, that's all I need, but how?
Apr 21 '09 #5
Screenshot full/window: http://pastebin.com/f17a2437c
Global shortcuts class: http://pastebin.com/fc755514
Apr 22 '09 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Matthew Adams | last post: by
1 post views Thread by David Lindgren | last post: by
1 post views Thread by Ralph Krausse | last post: by
6 posts views Thread by M | last post: by
2 posts views Thread by suspended | last post: by
1 post views Thread by stan.wozniak | last post: by
15 posts views Thread by Nayan | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.