In my MFC app, when I click button
void CSecondDlg::BtnSearchUsers(), it will do this:
ShellExecute(nullptr,_T("open"),_T("rundll32.exe"),_T("dsquery.dll,OpenQueryWindow"), nullptr, SW_SHOWNORMAL); (it will go to this system dialog). When I click "Search" button, I see all local and domain users and groups. I want to make a code when I click one of the users. I want to show selected user name to edit control
What I have tried:
I've tried to search in AI and tutorials from YT, but I didn't find any tutorials for this solution.