MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / OptionsChildDialogProc

Function OptionsChildDialogProc

src/windows/OptionsDialog.cpp:636–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636INT_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.

Callers

nothing calls this directly

Calls 2

OptionsHandleCommandFunction · 0.85
OnChildDialogInitFunction · 0.85

Tested by

no test coverage detected