|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
#include "GoToLineDlg.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
intptr_t CALLBACK GoToLineDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM)
|
|
|
|
|
intptr_t CALLBACK GoToLineDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
|
|
|
|
{
|
|
|
|
|
switch (message)
|
|
|
|
|
{
|
|
|
|
@ -69,9 +69,17 @@ intptr_t CALLBACK GoToLineDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM)
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
case WM_DPICHANGED:
|
|
|
|
|
{
|
|
|
|
|
DPIManagerV2::setDpiWP(wParam);
|
|
|
|
|
setPositionDpi(lParam);
|
|
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
case WM_COMMAND:
|
|
|
|
|
{
|
|
|
|
|
switch (wParam)
|
|
|
|
|
switch (LOWORD(wParam))
|
|
|
|
|
{
|
|
|
|
|
case IDCANCEL : // Close
|
|
|
|
|
display(false);
|
|
|
|
@ -144,7 +152,7 @@ intptr_t CALLBACK GoToLineDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM)
|
|
|
|
|
return FALSE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void GoToLineDlg::updateLinesNumbers() const
|
|
|
|
|
void GoToLineDlg::updateLinesNumbers() const
|
|
|
|
|
{
|
|
|
|
|
size_t current = 0;
|
|
|
|
|
size_t limit = 0;
|
|
|
|
|