From 4.616, On WIN95/NT4 a 'client edge' may be drawn round certain parts of the screen. This improves the appearance of menus and help messages, but may impact existing programs if you are running at a low resolution.
The client edge is enabled if you have useframe=1 and disabled if you have useframe=0 or useframe=−1.
In previous releases of 4.6xx all maps were created as child windows of the application main window which could be discovered by calling trm_get_hwnd(). From 4.616 this window usually has a child window of the same class. The handle of this window can (before any maps are displayed) be found by calling GetTopWindow((HWND) trm_get_hwnd()). You should first call map_clear_all() and trm_refresh() to ensure that there you are not confused by windows used for copyright messages or system messages. The window may not exist, (so 0 would be returned), as the facility is configurable. Most maps are created as child windows of this window. However the following maps are created as children of the main window instead:
This child window will be periodically (possibly very frequently if you have help messages) sized to fit inside any menu bar or BOTTOM maps (especially help messages). If you subclass this window and trap the WM_WINDOWPOSCHANGING message you can further control its position and size. For example you could reduce its size by an amount sufficient to display a Windows toolbar control above it or a status window below it, or indeed any other window. Unless you are running on Windows 3.x or NT 3.x the window may have a 'client edge' which will slightly reduce the area available to maps.
The client edge improves the appearance of help messages and menus. You can change the frame style of the window if you wish (from C/C++ code).
The terminal manager will only put a client edge on this child window by default if you are running Windows 95 or NT 4 or later and are running at a sufficiently high resolution: normally 800*600 with small fonts or 1024*768 with large fonts.
If, for some reason, this window causes you a problem you can force all maps to be created as child windows of the main window, and prevent creation of the child window by specifying useframe=-1. However, there may be some problems if you do this, for example a menubar at the top of the window will be able to scroll off screen.