Well, I've been putting this off for a while, and I've redesigned the dialogs a bit. I'll be working on this for DCS 5.9 beta. Here's the mockup:
The way it will work is that you put a pointer to your filetype table (point to the number of types byte in the header) in hl, then call OpenAPFile. Doors CS will handle folders, clicking, etc, then return hl=0 for no file selected, or hl->location for a file, de->size word (for updating), and bc=size.
The way it will work is that you put a pointer to your filetype table (point to the number of types byte in the header) in hl, then call OpenAPFile. Doors CS will handle folders, clicking, etc, then return hl=0 for no file selected, or hl->location for a file, de->size word (for updating), and bc=size.