SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Opens or refreshes the autocomplete window.
C
BOOL SftMask_AutoComplete_Refresh(HWND hwndCtl);
C++
BOOL CSftMask::AutoCompleteRefresh();
hwndCtl
The window handle of the masked edit control.
The return value is TRUE if the autocomplete window was opened or refreshed.
The call has no effect unless autocomplete is configured (see the auto_iMode and auto_iContents fields). A typical use is opening the suggestion list in response to the SFTMASKN_ELLIPSECLICKED notification when using the ellipse button edit style (see Ellipse Buttons).
InitPath(hwndDlg);
SftDarkMode_ApplyToDialog(hwndDlg);
return TRUE;
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDC_PATH:
if (HIWORD(wParam) == SFTMASKN_ELLIPSECLICKED)
SftMask_AutoComplete_Refresh((HWND) lParam); // open the suggestion dropdown
break;
case IDCANCEL:
EndDialog(hwndDlg, 0);
return TRUE;
}
break;
}
// Dark mode
SftDarkMode_ApplyToDialog(m_hWnd);
return TRUE;
}
void CMainDlg::OnPathEllipse()
{
m_Path.AutoCompleteRefresh(); // open the suggestion dropdown
}
void CMainDlg::OnOK()
{
// Enter must not close the sample
}See Also AutoComplete | Ellipse Buttons | Rollup
