@Code eater
It depends on what you mean by "run DBC in a window."
If you are talking about the application or game you make with DBC, you can use the various window commands inside your program:
SET WINDOW ON
SET WINDOW SIZE
etc.
If you are talking about the built in editor, well inside the folder where DB.exe lives, there should be a file named setup.ini.
If you open that file, you will see a heading called [SETTINGS]. Below that wil be a list of options, one of which is windowmode=0. Set that to windowmode=1. That should run do it. However, it will be run in a bordered window. You can still use F8 to minimize it. This is an excerpt from the ini file:
[SETTINGS]
TextLanguage=English
TextLanguage-Charset=1
HelpLanguage=English
HelpLanguage-Charset=1
HelpFontSize=0
ExternalEditor=None
blitoverdraw=0
blitflipmode=1
vbcreate=0
vbusage=0
3doverlay=0
runtimetest=1
tracemode=0
windowmode=1
popupoff=0
There are another series of options in the ini under [STARTUP]. These control how your exe will be run if you ship the ini with your compiled program. Setting window=1 will run your exe in windowed mode.
[STARTUP]
window=0
winposx=0
winposy=0
winsizex=640
winsizey=480
Enjoy your day.