Click here to Skip to main content
15,888,351 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Duncan Edwards Jones28-Jan-04 3:01
professionalDuncan Edwards Jones28-Jan-04 3:01 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
MrBean28-Jan-04 3:05
MrBean28-Jan-04 3:05 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Duncan Edwards Jones28-Jan-04 5:23
professionalDuncan Edwards Jones28-Jan-04 5:23 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
MrBean29-Jan-04 0:36
MrBean29-Jan-04 0:36 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Serge Lobko-Lobanovsky28-Jan-04 2:56
Serge Lobko-Lobanovsky28-Jan-04 2:56 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
MrBean28-Jan-04 3:15
MrBean28-Jan-04 3:15 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Serge Lobko-Lobanovsky28-Jan-04 3:46
Serge Lobko-Lobanovsky28-Jan-04 3:46 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
James Simpson3-Feb-04 6:29
James Simpson3-Feb-04 6:29 
Have I got this correct:

HWND passed into .NET Object to be displayed as a child of a .NET form in the DLL?

Look into NativeWindow.FromHandle or Control.FromHandle. This should give you a .NET object from the handle and expose some more functionality.

If you just want to display the HWND as a child of a Form created in .NET you can use a windows UI function from User32, SetWindowParent will be able to reparent the child form as a child of your .NET form.

J

James Simpson
Web Developer
imebgo@hotmail.com

P S - This is what part of the alphabet would look like if Q and R were eliminated
Mitch Hedberg

QuestionCreating your own datatypes? Pin
FruitBatInShades27-Jan-04 8:10
FruitBatInShades27-Jan-04 8:10 
GeneralUsing managed DirectX in .NET Pin
Serge Lobko-Lobanovsky27-Jan-04 6:42
Serge Lobko-Lobanovsky27-Jan-04 6:42 
General.Net Compact Framework Emulator on WinXP Home Pin
Corneliu Tusnea27-Jan-04 2:29
Corneliu Tusnea27-Jan-04 2:29 
GeneralRe: .Net Compact Framework Emulator on WinXP Home Pin
Victor Boctor28-Jan-04 19:05
Victor Boctor28-Jan-04 19:05 
GeneralMSDE installation Pin
Dpriya27-Jan-04 2:28
Dpriya27-Jan-04 2:28 
GeneralRe: MSDE installation Pin
msdnexpert28-Jan-04 6:28
msdnexpert28-Jan-04 6:28 
GeneralAdding a scripting language ... Pin
Andres Coder25-Jan-04 7:23
Andres Coder25-Jan-04 7:23 
GeneralRe: Adding a scripting language ... Pin
Victor Boctor28-Jan-04 19:11
Victor Boctor28-Jan-04 19:11 
GeneralRe: Adding a scripting language ... Pin
Andres Coder29-Jan-04 2:39
Andres Coder29-Jan-04 2:39 
GeneralInstaller stops working from within IDE Pin
jholt25-Jan-04 6:13
jholt25-Jan-04 6:13 
GeneralRe: Installer stops working from within IDE Pin
jholt30-Jan-04 3:25
jholt30-Jan-04 3:25 
QuestionHow can I get the name of current theme from OS? Pin
rafamarmar25-Jan-04 5:42
rafamarmar25-Jan-04 5:42 
QuestionPlatform independancy ? Pin
Andres Coder24-Jan-04 23:08
Andres Coder24-Jan-04 23:08 
Questionhow do i add an internet shortcut to the start menu in a deployment project? Pin
godzooky22-Jan-04 10:54
godzooky22-Jan-04 10:54 
GeneralProcess of starting a .NET app. Pin
Jamie Nordmeyer22-Jan-04 6:09
Jamie Nordmeyer22-Jan-04 6:09 
GeneralRe: Process of starting a .NET app. Pin
Daniel Turini25-Jan-04 0:19
Daniel Turini25-Jan-04 0:19 
QuestionFuture Real-Time Development? Pin
BrianEllis22-Jan-04 3:44
BrianEllis22-Jan-04 3:44 

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.