Using another program within a xojo window

This is possible but if the other program isn’t expecting its top-level window to be embedded in another window then it may cause problems. VLC in particular fully expects you to embed its video output window within your own window, and provides an API to do it on all supported platforms. Doing the same for a different program that isn’t expecting it will require digging into the platform’s API

See this old forum topic about embedding notepad.exe’s window in a Xojo window:

It uses the Windows API function SetParent to create the parent/child relationship between the two windows and SetWindowPos to set the child window’s coordinates and size to match the parent.

1 Like