Embed MUGEN in WPF C# using VS2010 Project

I need a simple application that shows how to embed an external application in a WPF object. The external application to be used is MUGEN. The application needs to be written in C# and in the form of a VS 2010 solution.

For information on MUGEN see It is a win32 application that can be run from the command line with parameters.

The requirements of the project are as follows:

1. Create a basic WPF application.

2. Have one text box to accept arguments for launching the executable.

3. Have one button that launches the application (MUGEN) with the command line arguments captured in the text box (step2)

The external application needs to be embedded in the WPF. It should resize with the form if possible. If not lock the size of the form.

To embed the application the following steps can be used as a guide:

1. Create a WindowsFormsHost and add it to a panel in your UI

2. Start the process (such as MUGEN) using [url removed, login to view]

3. Call [url removed, login to view]

4. Use [url removed, login to view] to get the window handle

5. Call SetWindowPos to set the process's window to the coordinates and Z Order of the HwndHost window

6. Hook both the HwndHost and the [url removed, login to view] to detect size changes and repeat step 5.

The effect is the entire MUGEN window (or whatever application you started) appears and behaves exactly as if it were part of your WPF application.

Habilidades: Programação C#, Microsoft, Área de trabalho do Windows

Veja mais: mugen, wpf embed process window, wpf programming, win32 programming, set in c, programming guide, programming box requirements, object in programming, how to get started programming, how to get started on programming, how to get started in c programming, guide solution, get started with c# programming, get started with c programming, get in c programming, embedded programming in c, embedded c++ programming, c sharp object, c# programming guide, c programming guide, windows wpf, wpf c++, wpf c#, WPF Application, windows embedded

Acerca do Empregador:
( 1 comentário ) United States

ID do Projeto: #3055262

Concedido a:


See private message.

$177 USD em 14 dias
(17 Comentários)