Click here to Skip to main content
15,906,626 members
Home / Discussions / C#
   

C#

 
QuestionThreads and ProgressBar Pin
achrafus20-Apr-06 11:01
achrafus20-Apr-06 11:01 
AnswerRe: Threads and ProgressBar Pin
Ed.Poore20-Apr-06 12:13
Ed.Poore20-Apr-06 12:13 
AnswerRe: Threads and ProgressBar Pin
mikanu20-Apr-06 18:03
mikanu20-Apr-06 18:03 
Questionhow set a orginate time of Unix timpstamp value?? Pin
Real Coder20-Apr-06 10:05
Real Coder20-Apr-06 10:05 
Questionhow to save some file path in sql server 2000? Pin
nomsnoms20-Apr-06 9:23
nomsnoms20-Apr-06 9:23 
GeneralRe: how to save some file path in sql server 2000? Pin
Guffa20-Apr-06 9:34
Guffa20-Apr-06 9:34 
QuestionD3D device problem - DirectX Pin
victor_ba8520-Apr-06 8:41
victor_ba8520-Apr-06 8:41 
AnswerRe: D3D device problem - DirectX Pin
Judah Gabriel Himango20-Apr-06 12:43
sponsorJudah Gabriel Himango20-Apr-06 12:43 
An IntPtr is a pointer to a memory location; it basically corresponds to a pointer in C++. It is 4 bytes on a 32-bit operating system, and 8 bytes on a 64-bit operating system.

What DirectX really requires is a C++ HWND object. The HWND is, guess what, a pointer to the handle of a window: DirectX is asking you want window to draw on, so it needs the window's handle.

A Windows Form (i.e. your Form class) is just a glorified window with a normal HWND under the covers. You can access the window handle (i.e. HWND) of your form using the form.Handle property.

Device dev = New Device(0, DeviceType.Default, this.Handle, CreateFlags.None, presentParams)


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Is Jesus the Jewish Messiah?
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


QuestionHELP! I'm stuck! Access credentials for network share Pin
chrisk7720-Apr-06 8:38
chrisk7720-Apr-06 8:38 
QuestionImporting MS Access Report in Crystal Reports XI Pin
Code Toad20-Apr-06 8:06
Code Toad20-Apr-06 8:06 
Questionprinting in a right-to-left language Pin
Green Fuze20-Apr-06 7:14
Green Fuze20-Apr-06 7:14 
QuestionInvert Bitmap Pin
sergestusxx20-Apr-06 7:11
sergestusxx20-Apr-06 7:11 
AnswerRe: Invert Bitmap Pin
LongRange.Shooter20-Apr-06 7:42
LongRange.Shooter20-Apr-06 7:42 
AnswerRe: Invert Bitmap Pin
Josh Smith20-Apr-06 7:44
Josh Smith20-Apr-06 7:44 
AnswerRe: Invert Bitmap Pin
Guffa20-Apr-06 8:07
Guffa20-Apr-06 8:07 
AnswerRe: Invert Bitmap Pin
Judah Gabriel Himango20-Apr-06 12:47
sponsorJudah Gabriel Himango20-Apr-06 12:47 
Questionregistering a dll at runtime Pin
shezh20-Apr-06 6:44
shezh20-Apr-06 6:44 
AnswerRe: registering a dll at runtime Pin
Le centriste20-Apr-06 7:05
Le centriste20-Apr-06 7:05 
Questionlate binding to VB6 dlls Pin
shezh20-Apr-06 6:11
shezh20-Apr-06 6:11 
Questioncreating a txt file Pin
john3420-Apr-06 5:42
john3420-Apr-06 5:42 
AnswerRe: creating a txt file Pin
J4amieC20-Apr-06 5:51
J4amieC20-Apr-06 5:51 
AnswerRe: creating a txt file Pin
AETaylor21-Apr-06 1:54
AETaylor21-Apr-06 1:54 
QuestionI/O Threading program Pin
eric_tran20-Apr-06 4:55
eric_tran20-Apr-06 4:55 
AnswerRe: I/O Threading program Pin
LongRange.Shooter20-Apr-06 7:10
LongRange.Shooter20-Apr-06 7:10 
Questioninsert in database Pin
guest_098720-Apr-06 4:34
guest_098720-Apr-06 4:34 

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.