MCPcopy Create free account
hub / github.com/bruderstein/nppPluginManager / dlgProc

Method dlgProc

pluginManager/src/SettingsDialog.cpp:32–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32INT_PTR SettingsDialog::dlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
33{
34 switch(message)
35 {
36 case WM_INITDIALOG:
37 ::SetWindowLongPtr(hWnd, GWLP_USERDATA, lParam);
38 return reinterpret_cast<SettingsDialog*>(lParam)->run_dlgProc(hWnd, message, wParam, lParam);
39
40 default:
41 {
42 SettingsDialog* dlg = reinterpret_cast<SettingsDialog*>(::GetWindowLongPtr(hWnd, GWLP_USERDATA));
43 if (dlg)
44 return dlg->run_dlgProc(hWnd, message, wParam, lParam);
45 else
46 return FALSE;
47 }
48 }
49
50}
51
52
53

Callers

nothing calls this directly

Calls 1

run_dlgProcMethod · 0.45

Tested by

no test coverage detected