| 64 | } |
| 65 | |
| 66 | void CFolderDialog::CallbackFunction(HWND hWnd, UINT uMsg, LPARAM lParam) |
| 67 | { |
| 68 | // Save the window handle. The Set* functions need it and they may |
| 69 | // be called by the virtual funtions. |
| 70 | m_hDialogBox = hWnd; |
| 71 | |
| 72 | // Dispatch the two message types to the virtual functions |
| 73 | switch (uMsg) |
| 74 | { |
| 75 | case BFFM_INITIALIZED: |
| 76 | OnInitDialog(); |
| 77 | break; |
| 78 | case BFFM_SELCHANGED: |
| 79 | OnSelChanged((ITEMIDLIST*) lParam); |
| 80 | break; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | int CFolderDialog::DoModal() |
| 85 | { |
no outgoing calls
no test coverage detected