Browse Prior Art Database

Presentation Manager CUA File Dialog Processor

IP.com Disclosure Number: IPCOM000121640D
Original Publication Date: 1991-Sep-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 2 page(s) / 62K

Publishing Venue

IBM

Related People

Jefferson, KJ: AUTHOR

Abstract

This article describes an OS/2* Presentation Manager* (PM) dynamic link library (DLL) that provides standardized CUA file open and save as processing. This DLL provides 5 APIs for user interaction as well as program customization options.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Presentation Manager CUA File Dialog Processor

      This article describes an OS/2* Presentation Manager*
(PM) dynamic link library (DLL) that provides standardized CUA file
open and save as processing.  This DLL provides 5 APIs for user
interaction as well as program customization options.

      In all the 16 bit versions of OS/2 PM, all file dialog
processing has been done by each application.  This has forced each
application to recreate file dialog processing code.  By using
standardized CUA file dialogs, file dialog processing code is not
recreated for each application.  By using the customization options
of the standardized CUA file dialogs, dialogs can be tailored to the
individual needs of the calling application.

      The five APIs provided can be grouped into three categories:
standard CUA file dialog processing, directory/file parsing and
validation, and directory querying.
o  Standard CUA File Dialog Processing:
      Dialog processing is accomplished through two APIs: FileOpen
and FileSaveAs.  Both take the handle to the parent/owner window and
the FILEDLGINFO structure as parameters. The FILEDLGINFO structure
allows for dialog customization values (file search filters, dialog
box titlebar text, dialog prompt text, and "OK" button) to be passed
in and the selected file name that was opened/saved to be returned to
the calling program.  If customization information is NOT provided by
the calling application, defaults are used.  This a...