473,782 Members | 2,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP !!- BitBlt to capture something from screen to my window??

Hello,

I'm trying to get a part of the regular screen onto my own dialog
box....
Does anyone know how to do this?? (I guess i have to BitBlt something
to something (HDC handle; handle= GetDC(NULL); for screen?? and
then??)

Thanks for ANY help (tried to do this all day now!)

Johan Rensink
Jul 22 '05 #1
1 2494
"Johan" <Jo***********@ hotmail.com> wrote...
I'm trying to get a part of the regular screen onto my own dialog
box....
Does anyone know how to do this?? (I guess i have to BitBlt something
to something (HDC handle; handle= GetDC(NULL); for screen?? and
then??)
Please ask this in a Windows programming newsgroup. C++ _language_
has no means for what you need done, you have to use Win32 API for
that. I suggest comp.os.ms-windows.program mer.win32.

Thanks for ANY help (tried to do this all day now!)


It might be a good idea to try Google (and Google Groups). Also
try to find the source code for MSoft's ZoomIn utility (I do not
know whether it's available, you have to look).

Jul 22 '05 #2

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

Similar topics

7
5158
by: Ray | last post by:
I'm using VB6, I am a little more then a novice but not much.. and my question is - Is there a way to detect and possibly notify (me/mycomputer) if someone is using a Web Cam mainly MSN on my LAN with out the user knowing it? Even if I have to install software on the user computer.. I not sure if this is the right way to go about this I can get the WM_CAP_DRIVER_CONNECT to return a True/False but this brings up a (Video Source...
5
4091
by: Chad A. Beckner | last post by:
Hey all, I know this has been done using C++ (I have one with source code), but I don't know C++ that well. Does anyone know of a C++ to C# converter? - OR - does anyone know to to retrieve a web page as an image (not get an image from a web page)? I need to do this for an application I am working on (non-comercial) and can't seem to find any code or hints on how to do this. Thanks for any help!
0
1648
by: kris_scheyer | last post by:
Ok, here's what im trying to do: I have a machine running XP embedded that has a webserver. I have a button on the aspx web form that is supposed to capture the screen of the computer hosting the webserver and display it on the browser. Now I already have the code that captures the screen of the webserver (using user32.dll and gdi32.dll) and when I run the web application on the ASP.NET Development Server using visual web developer 2005...
7
2436
by: VB Programmer | last post by:
I am using the BitBlt operation to capture various controls into jpegs. It's almost like a screen capture, but of just the control. (This is a VB.NET application.) Because of BitBlt limitations I know that the application has to always be on top. The problem: I am running this application on a Windows Server 2003 PC. The server is in another state (North Carolina). I am in Florida. I access the server over Termincal Server /Remote...
4
2101
by: fong01 | last post by:
Hi, Below source code I have try on Win 2k, XP & 2003 is work, but I try on win 98 & ME the screen is capture black screen. Dim dInt_dwRop As Integer = &HCC0020 Dim dImg As New System.Drawing.Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, System.Drawing.Imaging.PixelFormat.Format16bppRgb565)
3
8839
by: _DD | last post by:
I've heard that fast bitblt functions still need to resort to calling older Bitblt vs interop. Has this changed? Will GDI+ Lockbits come close to the speed of GDI BitBlt?
6
7507
by: Martijn Mulder | last post by:
/* BitBlt.cs C# code using P/Invoke I have good reasons to use P/Invoke to get access to the Win32 API function BitBlt(). But I have trouble understanding the workings of it. Below is a small, compilable and runnable program that shows the
1
3162
by: =?Utf-8?B?Y3JhbmtlX2JveQ==?= | last post by:
Hi Folks, I'm not sure where this post belongs since I'm using managed vc.net, but the issue is around GDI BitBlt. Here is a summary of the problem: - I am trying to copy a bitmap of my main form into a picture box. - To do this, I bitblt using the device contexts of the form and a bitmap object. - After blitting, the bitmap image is always blank. I don't understand what
0
1809
by: crankeboy | last post by:
Hi Folks, My setup: Visual Studio Express 2008, VC++, .NET, BitBlt Here is a summary of the problem: - I am trying to copy a bitmap of my main form into a picture box. - To do this, I bitblt using the device contexts of the form and a bitmap object. - After blitting, the bitmap image is always blank. I don't understand what I'm doing wrong here. Here is my relevant code:
0
9639
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
9942
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8967
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7492
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
6733
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
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
4043
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
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2874
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.