Επεξεργασία

Κοινή χρήση μέσω


IFileDialogControlEvents interface (shobjidl.h)

Exposes methods that allow an application to be notified of events that are related to controls that the application has added to a common file dialog.

Inheritance

The IFileDialogControlEvents interface inherits from the IUnknown interface. IFileDialogControlEvents also has these types of members:

Methods

The IFileDialogControlEvents interface has these methods.

 
IFileDialogControlEvents::OnButtonClicked

Called when the user clicks a command button.
IFileDialogControlEvents::OnCheckButtonToggled

Called when the user changes the state of a check button (check box).
IFileDialogControlEvents::OnControlActivating

Called when an Open button drop-down list customized through EnableOpenDropDown or a Tools menu is about to display its contents.
IFileDialogControlEvents::OnItemSelected

Called when an item is selected in a combo box, when a user clicks an option button (also known as a radio button), or an item is chosen from the Tools menu.

Remarks

When to Implement

IFileDialogControlEvents is implemented by an application on the same object that it implements IFileDialogEvents in.

The dialog does not check the return values of this interface's methods.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl.h