Article # 335, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Getting a GenFileSelector to show both DOS and GEOS files.
Q. In GenFileSelector, when I set GDCI_selectorType = GFST_ALL_FILES, it doesn't show both DOS and GEOS files. How can I get it to show all files (both DOS and GEOS) A. Subclass GenDocumentControl and override the method MSG_GEN_DOCUMENT_CONTROL_CONFIGURE_FILE_SELECTOR. The prototype for that method is as follows @message MSG_GEN_DOCUMENT_CONTROL_CONFIGURE_FILE_SELECTOR (optr fileSelector, word flags); In this case, the flags are the GenDocumentControlAttrs structure, which is described in the docs as well as the header file. In the override of this method, you can do what it says: configure the file selector - to list all types of files.