BOOL CAutocompleteDlg::OnInitDialog() { CWnd* pEditCombo = m_Combo.GetDlgItem( 1001 ); if( pEditCombo ) { HRESULT hRes = SHAutoComplete( pEditCombo->m_hWnd, SHACF_FILESYSTEM ); if( S_OK != hRes ) { AfxMessageBox( _T( "Failed" )); } } return TRUE; }
CoInitialize()
OleInitialize()
AfxOleInit()
SHAutoComplete()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)