Forcefully Embedded Applications

Miscellaneous Forums/Blitz Showcase/Forcefully Embedded Applications

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Careful with it though, you may end up wasting a lot of time unless you can find out how to get that windows' handle using Win32. In the API-Guide tool ( http://www.mentalis.org/agnet/apiguide.shtml ) there's a list of most of (maybe all of) the ways that you can find a windows' handle. Just pop api_ onto the start of those commands, and, assuming you have user32.decls, they'll probably be highlighted.
You can also have the window to be embedded get its own handle and pass it to the Blitz3d window (for my case, this would be done by executing the b3d program with a window handle in the command line).

So, obviously, there are restrictions. api_ActiveWindow() is a command which I don't recommend, because it has a terrible success rate... For many others, the window needs a unique class name/window name that would not be used by other windows.