C
C#14mo ago
Slycex

Embed external application in wpf application

Hello, i want embed a game in my wpf application. The game is a turn by turn mmorpg, most people play 8 account (8 client...) It's not easy to navigate with 8 client in windows. ALT+ESC... I want create an application where I can put a navigation bar with tabs at the top and each tab represents 1 client. I search and test many options but none works. I'm sure is possible because one application exist, but i want create mine for share in open source project (app already exist have very bad UI and not open source) Thank you very much !
9 Replies
_imagineer__
_imagineer__14mo ago
Using 'TabControl' in your UI!?
Slycex
SlycexOP14mo ago
I think i do use Win32.dll with SetParent() for change the parent of my application but i dont know what do i do for embed in my wpf app
Gooster
Gooster14mo ago
i had given you some help but you didnt succeed? set your wpf app as parent of the game is what i ment its user32.dll btw
Slycex
SlycexOP14mo ago
yes i think too ! but many test with user32.dll and not works
Gooster
Gooster14mo ago
what didnt work?
Slycex
SlycexOP14mo ago
the game is not in wpf app
Gooster
Gooster14mo ago
did you have the right window handles?
Slycex
SlycexOP14mo ago
Yes
Gooster
Gooster14mo ago
well whats the idea exactly? 8 game instances in different tabs? and having the windows normally and doing alt+tab isnt good enough for you? a screen is probably not bit enough to put them all next to eachother if i remember. make sure the game windows arent popup windows (borderless)

Did you find this page helpful?