| 695 | |
| 696 | |
| 697 | void CMountPropertyPage::OnClickedSelect() |
| 698 | { |
| 699 | // TODO: Add your control notification handler code here |
| 700 | |
| 701 | CFolderDialog fdlg; |
| 702 | |
| 703 | fdlg.m_bi.ulFlags |= BIF_NONEWFOLDERBUTTON; |
| 704 | |
| 705 | if (fdlg.DoModal() == IDCANCEL) |
| 706 | return; |
| 707 | |
| 708 | CString cpath = fdlg.GetPathName(); |
| 709 | |
| 710 | if (cpath.GetLength()) { |
| 711 | CWnd *pWnd = GetDlgItem(IDC_PATH); |
| 712 | if (pWnd) |
| 713 | pWnd->SetWindowTextW(cpath); |
| 714 | } |
| 715 | |
| 716 | |
| 717 | } |
| 718 | |
| 719 | |
| 720 | void CMountPropertyPage::OnClickedMount() |
nothing calls this directly
no test coverage detected