Click here to Skip to main content
11,715,425 members (75,790 online)
   

C#

 
AnswerRe: HOW TO CREATE RDLC REPORT IN C# USING SQL 2005 Pin
Jay Nardev20-Nov-12 21:57
groupJay Nardev20-Nov-12 21:57 
Questionc# code to search text/string in word doc and get page number Pin
Nitin Varshneya 219-Nov-12 17:29
memberNitin Varshneya 219-Nov-12 17:29 
AnswerRe: c# code to search text/string in word doc and get page number Pin
Richard MacCutchan19-Nov-12 23:11
mvpRichard MacCutchan19-Nov-12 23:11 
GeneralRe: c# code to search text/string in word doc and get page number Pin
Nitin Varshneya 219-Nov-12 23:21
memberNitin Varshneya 219-Nov-12 23:21 
GeneralRe: c# code to search text/string in word doc and get page number Pin
Richard MacCutchan19-Nov-12 23:59
mvpRichard MacCutchan19-Nov-12 23:59 
GeneralRe: c# code to search text/string in word doc and get page number Pin
Nitin Varshneya 220-Nov-12 17:59
memberNitin Varshneya 220-Nov-12 17:59 
GeneralRe: c# code to search text/string in word doc and get page number Pin
Richard MacCutchan20-Nov-12 21:18
mvpRichard MacCutchan20-Nov-12 21:18 
QuestionC# and BitBLT Pin
C-P-User-319-Nov-12 10:04
memberC-P-User-319-Nov-12 10:04 
Can C# do a real BitBLT in Windows Forms ?

I am having difficulty figuring out the syntax and implementation of doing a BitBLT in C#.

I found This Link [^] about BitBLT on the MSDN site, which is for C++ but couldn't find anything about doing it in C#. All other searches for the two terms, "C#" and "BitBLT" in the same context led to nowhere and worse results.

The two major "Duh" points for me are figuring out what the HDC values are for the source and destination.

They are listed as "...A handle to the [source/destination] device context..." (no quotes, no dots) but when I go looking for how to determine what that is, or how to obtain it, I wind up in circles.

I found some tangential references to the C# Bitmap class, and if that's the way you do a BitBLT in C#, okay, just tell me how.

The Syntax and implementation are the thing.

Let me think, to keep the question simple, lets say I have a rectangle located at X1, Y1, with width W1 and Height H1, (in pixels, I presume) and I want to move that to location X2, Y2.

The BitBLT question is based on a desire to let the hardware do it without the processor spending cycles. I don't care if I use BitBLT or Bitmap or whatever. I just want to know How to do that in C#, and the faster it executes, the better.

If this already has examples waiting to read, somebody please point me to them.
AnswerRe: C# and BitBLT Pin
Gerry Schmitz19-Nov-12 21:57
memberGerry Schmitz19-Nov-12 21:57 
GeneralRe: C# and BitBLT Pin
C-P-User-320-Nov-12 8:06
memberC-P-User-320-Nov-12 8:06 
GeneralRe: C# and BitBLT Pin
Pete O'Hanlon20-Nov-12 8:35
protectorPete O'Hanlon20-Nov-12 8:35 
GeneralRe: C# and BitBLT Pin
Gerry Schmitz20-Nov-12 11:50
memberGerry Schmitz20-Nov-12 11:50 
QuestionHow can i get the innertext from div which hasnt id Pin
Gokce Sezgin19-Nov-12 9:17
memberGokce Sezgin19-Nov-12 9:17 
AnswerRe: How can i get the innertext from div which hasnt id Pin
Pete O'Hanlon19-Nov-12 9:18
protectorPete O'Hanlon19-Nov-12 9:18 
JokeRe: How can i get the innertext from div which hasnt id Pin
Peter_in_278019-Nov-12 11:18
memberPeter_in_278019-Nov-12 11:18 
AnswerRe: How can i get the innertext from div which hasnt id Pin
askwjun19-Nov-12 20:42
memberaskwjun19-Nov-12 20:42 
AnswerRe: How can i get the innertext from div which hasnt id Pin
Bernhard Hiller19-Nov-12 21:55
memberBernhard Hiller19-Nov-12 21:55 
QuestionWhat is the best tool to create UML diagrams? Pin
Vijay Kanda19-Nov-12 8:29
memberVijay Kanda19-Nov-12 8:29 
AnswerRe: What is the best tool to create UML diagrams? Pin
Pete O'Hanlon19-Nov-12 8:36
protectorPete O'Hanlon19-Nov-12 8:36 
GeneralRe: What is the best tool to create UML diagrams? Pin
Vijay Kanda19-Nov-12 8:54
memberVijay Kanda19-Nov-12 8:54 
AnswerRe: What is the best tool to create UML diagrams? Pin
Bernhard Hiller19-Nov-12 21:57
memberBernhard Hiller19-Nov-12 21:57 
AnswerRe: What is the best tool to create UML diagrams? Pin
gilvani20-Nov-12 1:02
membergilvani20-Nov-12 1:02 
QuestionC# PAINT for school procet Pin
mibetty19-Nov-12 7:07
membermibetty19-Nov-12 7:07 
AnswerRe: C# PAINT for school procet Pin
Richard MacCutchan19-Nov-12 8:04
mvpRichard MacCutchan19-Nov-12 8:04 
AnswerRe: C# PAINT for school procet Pin
Pete O'Hanlon19-Nov-12 8:14
protectorPete O'Hanlon19-Nov-12 8:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150901.1 | Last Updated 2 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid