Documentation
The dialog object is created and initialized by OSDInit function (this function also specifies whether the dialog will load or save images) and displayed by OSDDoModal function. OSDGetPathName and related functions allow getting paths to selected files; OSDGetFileHBITMAP and related functions allow loading images from selected files. The object is destroyed by OSDRelease function. For more information on functions and their usage, see articles describing the functions.
- OSDInit
- Creates OSDialog object and initializes it.
- OSDRelease
- Destroys OSDialog object , clears memory.
- OSDDoModal
- Displays dialog window and allows to select an image file.
- OSDGetPathName
- Returns the full name of the selected file including its path.
- OSDGetStartPosition
- Returns POSITION for the first element in the list of selected files.
- OSDGetNextPathName
- Returns the full path of the next selected file.
- OSDGetFileName
- Returns the name of the selected file with its extension and without its path.
- OSDGetFileTitle
- Returns the name of the selected file without its path and extension.
- OSDGetFileExt
- Returns the extension of the selected file.
- OSDGetFileHBITMAP
- Returns HBITMAP of the selected file.
- OSDGetNextFileHBITMAP
- Returns HBITMAP of the next selected file.
- OSDGetNextPathNameAndFileHBITMAP
- Returns the full file name and HBITMAP of the next selected file.
- OSDClearRegistry
- Deletes the key with saved dialog settings from the registry.
Samples
Full code of the samples below is shipped together with the commercial or demo version of the library. Online samples only display key aspects of integrating "Image Open Save Dialog" into other applications.
