Inheritance diagram for IMFDialogPart:

Public Member Functions | |
| virtual boolean MCCOMAPI | Go ()=0 |
| virtual boolean MCCOMAPI | Go (IDType &resultButtonID)=0 |
| virtual boolean MCCOMAPI | Go (IDType &resultButtonID, boolean &inSkipFlag)=0 |
| virtual void MCCOMAPI | Finished ()=0 |
| virtual IMFWindow *MCCOMAPI | GetThisWindow ()=0 |
To create your own dialog, you can use the following code:
// load the dialog from a resource. TMCCountedPtr<IMFPart> dialog; gPartUtilities->CreatePartByResource(&dialog,kMFDialogResourceType,dialogResID); ThrowIfNil(dialog); TMCCountedPtr<IMFDialogPart> dialogPart; dialog->QueryInterface(IID_IMFDialogPart, (void**)&dialogPart); ThrowIfNil(dialogPart); dialogPart->Go(); // opens the dialog dialogPart->Finished();
|
|
Should be called before before destroying the dialog object. |
|
|
Returns the interface to IMFWindow (always supported by IMFDialogPart) |
|
||||||||||||
|
Opens the dialog. Returns once the dialog has been closed. |
|
|
Opens the dialog. Returns once the dialog has been closed. |
|
|
Opens the dialog. Returns once the dialog has been closed. |
1.3.9.1