Aracılığıyla paylaş


CFileDialog::GetIFileDialogCustomize

İç com nesnesi için bir işaretçi alır bir verilen CFileDialog.

IFileDialogCustomize* GetIFileDialogCustomize();

Dönüş Değeri

İşaretçi için iç com nesnesine CFileDialog.Onu bu işaretçi uygun şekilde serbest bırakmak için sizin sorumluluğunuzdur.

Notlar

Bu işlev yalnızca altında kullanmak Windows Vista sahip bir nesne ile bVistaStyle ayarlamak true.Bu işlevi kullanırsanız, bVistaStyle olan false, onu döndürür NULL yayın modu ve throw hata ayıklama modunda bir onaylama işlemi.

Hakkında daha fazla bilgi için IFileDialogCustomize arabirim için bkz: IFileDialogCustomize.

Örnek

Bu örnekte iç com nesnesi alır.Bu kod örneği çalıştırmak için altında derlemeniz gerekir Windows Vista.

// Get the interface pointer
IFileDialogCustomize * customDlgPtr = m_myFileDialogPtr->GetIFileDialogCustomize();

// Make sure that it is not null
if ( customDlgPtr != NULL )
{
    //
    // Perform any interface functionality here
    //

    // Release the pointer
    customDlgPtr->Release();
}

Gereksinimler

**Gereken en düşük işletim sistemi:**Windows Vista

Başlık: afxdlgs.h

Ayrıca bkz.

Başvuru

CFileDialog sınıfı

Hiyerarşi grafik

CFileDialog::GetIFileOpenDialog

CFileDialog::GetIFileSaveDialog