You will normally need to supply each Windows application with its own resource file (to give it an icon at least). The DP4 Terminal manager will automatically interpret certain resources within your application. You can, for example, specify the following resource items:
ICON ICON filename.ico
STRINGTABLE BEGIN 1 Title text 100 Application Terminated Normally Message 101 Application Terminated Abnormally Message |
Other resources can be declared in the resource file, as required by your application. (For example, all standard DP4 utiltiies have a version resource so that version information can be displayed in Explorer). Graphics (either resources or files) can be displayed inside your maps using the DP4 C API show_resource(), or (in 4.6xx) as static bitmaps and icons referenced by your maps. You can also display images via bitmap or icon handles using the DP4 API show_graphic() API.
A special resource named DP4RES32.DLL (DP4RES.DLL for 16 bit DP4) is supplied with DP4 for Windows set. This contains all the icons used by standard DP4 programs. You may find this useful when creating DP4 menus using MENUEDIT or within QAB programs. If you like, and have access to a program to extract the icons already present, you can build a replacement version of this DLL.