Available in the LEADTOOLS Imaging toolkit. |
ShowFilesAssociationDlg method (ILEADRasterDlgFile)
Overview |
Refer to Using Imaging Common Dialogs |
Remarks
Displays the File Association dialog, in order to change file association options.
The layout and action of the dialog depends on the flags set in the UIFlags property. Possible option is:
Value |
Meaning |
FILESASSOCIATION_SHOW_CONTEXTHELP |
[0x00000800] dialog should contain a context sensitive help icon. |
The following properties are associated with this method:
ServerApplicationName property
Use this dialog to control how the shell treats certain types of files. This lets you link your application to a certain file type, which causes the application to take ownership of that file type.
The properties are used as input only and will not be updated by the dialog.
If the method was successful, then file formats will be associated or de-associated accordingly.
To include a Help button in the dialog, set the ShowHelpButton property to VARIANT_TRUE.
The File Association dialog can be seen below:
See Also
Elements |
Formats property, SelectedExt property, ServerApplicationName property, UIFlags property, ShowHelpButton property, EnableMethodErrors property |