BitBlt WinAPI function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.

learn more… | top users | synonyms

0
votes
1answer
10 views

Using BitBlt to capture screenshot, how?

I have run into this "BitBlt" from time to time in my searched, but i don“t get how to use it. From what people say, it seems to be the fastest way to capture a screen that Windows show. However, i ...
1
vote
1answer
62 views

BitBlt Printer.Canvas to a TBitMap displays as solid white

I am trying to capture Printer.Canvas as a Bitmap using BitBlt. I want to then take that Bitmap and display it on a paintbox. However, when I attempt this I am given only a white rectangle ...
0
votes
0answers
30 views

BitBlt captures layered window in XP but not 7

I'm using BitBlt to capture the Windows desktop. I'm not using CAPTUREBLT because I don't want to copy my layered window in the image. In Windows 7 with DWM off this works fine, but in XP my window ...
0
votes
1answer
43 views

TransparentBlt Produces a Non-Sharp Image

I'm rendering text (using TextRenderer.DrawText) onto a Bitmap which was back-colored solid White (Color.White) using the FillRectangle method. I then TransparentBlt this Bitmap onto a memory-DC ...
0
votes
1answer
78 views

Using BitBlt to Scroll Text over a Picture Backrgound

My user-control is intended to operate as a smooth vertical text scroller. It renders the text (to be scrolled) to control's surface only once, using TextRenderer.DrawText. It then starts a timer, ...
0
votes
1answer
33 views

Blitting the contents of Windows magnifier

My Windows program copies the contents of windows using GetDC then BitBlt. This works fine for most windows, but with magnifier windows I get a blank screen. This happens whether it's a magnifier I ...
0
votes
1answer
40 views

Bitblt from directx application

I got that code to get the pixel color from current mouse position. It works well but the only problem is, I can't get it from an d3d application... I tried it few times, but it only get only black ...
0
votes
0answers
62 views

Are there any bitblt alternatives without the slowness?

Recently it's come to my attention that bitblt is extrodinarily slow (taking around 33 ms for 1 image) and I know it's not that my hardware is too slow because it runs games with decent graphics at ...
0
votes
1answer
85 views

Get pixel color at mouse position fastest way

So actually i got a very fast and nice code from "Vodemki" in here - Get Pixel color fastest way? But only problem it scans the whole image while i need to scan only my current mouse position Here's ...
0
votes
0answers
44 views

Is it possible to fix black screenshots?

I'm currently trying to capture a fullscreen game with antialiasing mode activated via BitBlt, but it returns a black screenshot. If I disable the antialiasing, the screenshot works perfectly. Any ...
0
votes
1answer
211 views

c# gdi32 bitblt seems to do nothing

I'm trying to use BitBlt to get regions of a graphics and store them in bitmaps. But here, I do something easier to understand my problem: Bitmap sourceBitmap = new Bitmap(64, 64, ...
-1
votes
1answer
192 views

VB.NET using bitblt to draw bitmap renders a black square

I'm just starting out with VB.net after many years of VB 6.0 and I thought I'd get started with some graphics. Just for fun I'm using BitBlt to draw a bitmap I have loaded as a resource and draw it ...
0
votes
1answer
93 views

how to store bitmap assets in vb.net?

I used to use VB 6.0 and now I'm switching to .net and I'm finding lots of things have changed. Back in the day, I used to store graphics assets in pictureboxes, make them invisible, and then bitblt ...
0
votes
1answer
65 views

How to save hdc and restore it?

I write an application to draw line, rect, ellipse in client area. I need save image of client area when i draw any thing. And I restore it when message WM_PAINT occur. I use HBITMAP to save and ...
0
votes
3answers
124 views

BitBlt returns false, GetLastError returns 6 (Invalid handle)?

It's been a few years since my last foray into GDI, but I don't remember having an issue like this before. I am not getting an exception, but BitBlt is returning 0 (False), checking GetLastWIN32Error ...

1 2 3 4 5
15 30 50 per page