Click here to Skip to main content
15,880,543 members
Home / Discussions / C#
   

C#

 
AnswerRe: HOW TO CREATE RDLC REPORT IN C# USING SQL 2005 Pin
Jay Nardev20-Nov-12 21:57
Jay 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
Nitin 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
mveRichard 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
Nitin 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
mveRichard 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
Nitin 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
mveRichard MacCutchan20-Nov-12 21:18 
QuestionC# and BitBLT Pin
C-P-User-319-Nov-12 10:04
C-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
mveGerry Schmitz19-Nov-12 21:57 
GeneralRe: C# and BitBLT Pin
C-P-User-320-Nov-12 8:06
C-P-User-320-Nov-12 8:06 
GeneralRe: C# and BitBLT Pin
Pete O'Hanlon20-Nov-12 8:35
mvePete O'Hanlon20-Nov-12 8:35 
GeneralRe: C# and BitBLT Pin
Gerry Schmitz20-Nov-12 11:50
mveGerry Schmitz20-Nov-12 11:50 
QuestionHow can i get the innertext from div which hasnt id Pin
Gokce Sezgin19-Nov-12 9:17
Gokce 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
mvePete 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
professionalPeter_in_278019-Nov-12 11:18 
AnswerRe: How can i get the innertext from div which hasnt id Pin
askwjun19-Nov-12 20:42
askwjun19-Nov-12 20:42 
AnswerRe: How can i get the innertext from div which hasnt id Pin
Bernhard Hiller19-Nov-12 21:55
Bernhard Hiller19-Nov-12 21:55 
QuestionWhat is the best tool to create UML diagrams? Pin
Vijay Kanda19-Nov-12 8:29
Vijay Kanda19-Nov-12 8:29 
AnswerRe: What is the best tool to create UML diagrams? Pin
Pete O'Hanlon19-Nov-12 8:36
mvePete O'Hanlon19-Nov-12 8:36 
GeneralRe: What is the best tool to create UML diagrams? Pin
Vijay Kanda19-Nov-12 8:54
Vijay Kanda19-Nov-12 8:54 
AnswerRe: What is the best tool to create UML diagrams? Pin
Bernhard Hiller19-Nov-12 21:57
Bernhard Hiller19-Nov-12 21:57 
AnswerRe: What is the best tool to create UML diagrams? Pin
gilvani20-Nov-12 1:02
gilvani20-Nov-12 1:02 
QuestionC# PAINT for school procet Pin
mibetty19-Nov-12 7:07
mibetty19-Nov-12 7:07 
AnswerRe: C# PAINT for school procet Pin
Richard MacCutchan19-Nov-12 8:04
mveRichard MacCutchan19-Nov-12 8:04 
AnswerRe: C# PAINT for school procet Pin
Pete O'Hanlon19-Nov-12 8:14
mvePete O'Hanlon19-Nov-12 8:14 

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

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