473,806 Members | 2,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how do i take screenshots in windows

39 New Member
how do i take screenshots in windows by using winapi's and c++

just tell me the aproach how to start it
will i have to use MFC's for doing this.?
i am not comfortable with MFC, i haven't use it,
i know i will have to use createbitmap, bitblt function
but how to proceed ?

help me out...

thanx
Sep 27 '07 #1
3 2121
weaknessforcats
9,208 Recognized Expert Moderator Expert
Please avoid learning MFC.

It was Microsoft's first crack at C++ design and it's terrible. So terrible that they had to disable virtual functions dues to the size of the vtables. They replaced it with a system of macros called MESSAGE_MAP. You use the macros to hard-code your virtual functionality. Just like in C.

Check out the Windows Media SDK.
Sep 27 '07 #2
oler1s
671 Recognized Expert Contributor
Try learning C# and .NET instead. Not that you can't make do with C, but all the new APIs are part of the .NET framework or make use of it...
Sep 27 '07 #3
diwakar09
39 New Member
Please avoid learning MFC.

It was Microsoft's first crack at C++ design and it's terrible. So terrible that they had to disable virtual functions dues to the size of the vtables. They replaced it with a system of macros called MESSAGE_MAP. You use the macros to hard-code your virtual functionality. Just like in C.

Check out the Windows Media SDK.

Thanx for your rply i am familiar with winapi so i will try
Sep 28 '07 #4

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

Similar topics

2
15233
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
3
1433
by: Martin Ho | last post by:
When you go to google and search for some term, you'll see they have something called "Cached", when you click on it, it will produce a screenshot of the page, when it was last visited by their browser. How do I go about creating the screenshots like those in Google in VB.NET? Thanks a lot, Martin *-----------------------*
0
1339
by: Christian Nein | last post by:
Hello, does anybody have experiences with screenshots of ActiveX controls in .NET? I have a panel containing some controls, amongst others some ActiveX controls. I tried "control.DrawToBitmap()". The result was a Bitmap showing the panel with all controls located on it, except the ActiveX controls. This is not a surprise because MSDN says that "DrawToBitmap method is not supported for ActiveX controls". Does anybody know a solution for...
1
1322
by: InfoDevGuy | last post by:
Hi: We are a software company. Our product (Dialogue) is very expansive with lots of menus, dialog boxes, etc in the GUI. We use unstructured FM 7.2. Every time we have a new release, undoubtedly some (or many) of the software's menus and dialog boxes change due to enhancements. This requires us to identify these changes (somehow) and re-do any screenshots in our documentation and training materials.
0
2328
by: osdp | last post by:
Hi, for the documentation of the AIX operating system i need some screenshots from older versions or the newest version 6.0 beta of AIX. Unfortunately i don't have access to PowerPC computers for this operating system. Who has the possibility of making a couple of meaningful screenshots? I'll provide them on my web site. Operating System Documentation Project Thanks in advance.
5
7777
by: symbianas | last post by:
How to make screenshots with borland c++ builder 6?
1
1292
by: jquertil | last post by:
hello, let's say you are looking at an online doctor profile and there are quartile ratings and star ratings for various aspects of the doctor. A quartile rating basically says: "for this item, the doctor is better than 35%, 50%, or 75% of his/her peers. I am having a hard time deciding on the right layout (dont flame me, its a heavy javascript page, so still somewhat related to this group I
2
1644
by: Tim Arnold | last post by:
Hi, I'm using PIL to enhance screenshots for print and online publication. I'm writing to see if someone else is doing similar work. The shots are dialogs, menus, etc. -- my workflow to create the print images: (1) writer takes screenshot on Windows XP box (96dpi) ---------------------- *** Python Image Library *** (2) convert to RGB (3) resize to a writer-specified width using nearest neighbor*
16
18144
by: SimpleData | last post by:
Hi I need to capture screenshots from DirectX games. I am using this code but sometimes I get totally blank images or the image of the desktop (but the game is open) int screenWidth = Screen.GetBounds(new Point(0, 0)).Width; int screenHeight = Screen.GetBounds(new Point(0, 0)).Height; Bitmap bmpScreenShot = new Bitmap(screenWidth, screenHeight); Graphics gfx = Graphics.FromImage((Image)bmpScreenShot); gfx.CopyFromScreen(0, 0, 0, 0, new...
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10624
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.