473,516 Members | 2,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MFC-Storing View as Bitmap File

Hello All,

I am Developing a MFC SDI application,where I want to store the
CHtmlView Contents as Bitmap Image file.I have made CHtmlView as a
Child of CView.I want to create this bitmap file when an button on the
popup dialog is clicked.I want entire content of CHtmlView even though
the poppup dialog is above the CHtmlView.

Please tell me how to Implement this..I need it urgently..

Any sample code will be of great help.

Thanks in Advance,
pra

Feb 1 '07 #1
1 1603
Perhaps you're looking for something like what's demonstrated in the CaptureScreen function in the
DLLScreenCap sample?

<pr*************@rediffmail.comwrote in message
news:11*********************@k78g2000cwa.googlegro ups.com...
Hello All,

I am Developing a MFC SDI application,where I want to store the
CHtmlView Contents as Bitmap Image file.I have made CHtmlView as a
Child of CView.I want to create this bitmap file when an button on the
popup dialog is clicked.I want entire content of CHtmlView even though
the poppup dialog is above the CHtmlView.

Please tell me how to Implement this..I need it urgently..

Any sample code will be of great help.

Thanks in Advance,
pra

Feb 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1697
by: Shawn | last post by:
I just finished my second C++ book and I feel like I am ready to learn some more. I have read alot so that I hope I don't sound ignorant when I come here but sometimes all the googling in the world can't make up for some good old fashion human to human Q/A. I have been reading up on the windows API and MFC and I am still a little confused....
3
1993
by: Siddharth Jain | last post by:
Hello, Could someone please tell me the history of GUI programming for windows. In the early days, we had to write 100s of lines of code to make a simple dialog box. Then along came MFC to simplify things. And now, finally we have visual C#.NET. Is that right? Is there anything else to it? Can someone please guide me to some link form...
0
1422
by: Joel Foner | last post by:
I realize this sounds like a bizarre question, but... is it possible to create an MFC window as a child of a non-MFC parent? Here's the background. I'm trying to create an add-in for a product that was built using an old Mac to Windows porting library called Mac2Win. This library apparently has you develop on the Mac and then does an API...
2
1581
by: F. GEIGER | last post by:
Crosspost: microsoft.public.vc.mfc,microsoft.public.dotnet.languages.vc,microsoft.public.dotnet.languages.vc.libraries Drawing lib for MFC apps? Hi all, I have to build drawing capabilities into an already existing MFC application.
9
1359
by: Tony Johansson | last post by:
Hello! Some information to be able to have a change to answer the question. Assume I have a large system developed in MFC. In this system we have only C++ code so no other language exist. This system is 10 year old. I just want your opinion about porting this system. Assume it should be ported should it be to C++.net or C#.net.
7
1578
by: Tony Johansson | last post by:
Hello! If you want to create an GUI application using a tool in visual studion 6.0 you are forced to use MFC. I just want to know about the developing GUI application in C++ visual studio .net. Is it still the same old MFC you use or it it completely different more similar to C#? //Tony
4
1335
by: Alex | last post by:
Hi, all I have an experience in programming with VS6 (Visual C++, MFC, STL), but I'm totally beginner in VS.Net, so forgive me for the stupid questions. But I'll really appreciate if somebody will spend some time answering it. The question is: previously in VS6 I've created some classes, based on MFC and STL libraries, which perform some...
8
2062
by: bonk | last post by:
Is it generally OK for an EXE that has MFC linked statically to load an use another DLL wich has MFC linked as shared DLL ? To be more specific: I have an EXE that links a lib. Let's call it mylib.lib. That Lib as well as the EXE have MFC linked statically. Then in a completely different project I have a regular DLL, wich is compiled...
9
3219
by: pkirk25 | last post by:
Hi all, I want to put a simple GUI with 3 combo boxes and a datagrid on my little app that looks at World of Warcraft auction data. Ideally I want my app to have the work done in a STL based class and the GUI do be just data and display. I have Visual C++6 and am wading through the MFC tutorial. So far the thing that has me most...
3
4685
by: Klaus | last post by:
Hi, I have an existing VC 6 MFC application which communicates asynchronly with a VC 2005 managed code dll. I use an unmanaged base class with virtual functions to access methods in the MFC application. Furthermore, I use a pointer to an unmanaged function to jump back into the managed dll. The managed part is basically a remoting...
0
7276
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...
0
7408
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. ...
0
7581
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...
0
7548
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5714
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5110
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...
0
4773
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3267
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...
1
825
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.