| 634 | } |
| 635 | |
| 636 | INT_PTR CALLBACK OptionsChildDialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| 637 | { |
| 638 | HWND hwndParent = GetParent(hWnd); |
| 639 | DialogHeader* pHdr = (DialogHeader*)GetWindowLongPtr(hwndParent, GWLP_USERDATA); |
| 640 | switch (uMsg) |
| 641 | { |
| 642 | case WM_COMMAND: |
| 643 | return OptionsHandleCommand(hwndParent, hWnd, pHdr->pageNum, uMsg, wParam, lParam); |
| 644 | |
| 645 | case WM_INITDIALOG: |
| 646 | { |
| 647 | OnChildDialogInit(hWnd); |
| 648 | break; |
| 649 | } |
| 650 | } |
| 651 | return 0L; |
| 652 | } |
| 653 | |
| 654 | // Processes the TCN_SELCHANGE notification. |
| 655 | // hwndDlg - handle to the parent dialog box. |
nothing calls this directly
no test coverage detected