|
|
|
@ -448,6 +448,13 @@ BOOL Notepad_plus::notify(SCNotification *notification)
|
|
|
|
|
return TRUE;
|
|
|
|
|
TrackPopupMenu(hEolFormatMenu, 0, p.x, p.y, 0, _pPublicInterface->getHSelf(), NULL);
|
|
|
|
|
}
|
|
|
|
|
else if (lpnm->dwItemSpec == DWORD(STATUSBAR_UNICODE_TYPE))
|
|
|
|
|
{
|
|
|
|
|
POINT p;
|
|
|
|
|
::GetCursorPos(&p);
|
|
|
|
|
HMENU hLangMenu = ::GetSubMenu(_mainMenuHandle, MENUINDEX_FORMAT);
|
|
|
|
|
TrackPopupMenu(hLangMenu, 0, p.x, p.y, 0, _pPublicInterface->getHSelf(), NULL);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
@ -484,6 +491,13 @@ BOOL Notepad_plus::notify(SCNotification *notification)
|
|
|
|
|
return TRUE;
|
|
|
|
|
TrackPopupMenu(hEolFormatMenu, 0, p.x, p.y, 0, _pPublicInterface->getHSelf(), NULL);
|
|
|
|
|
}
|
|
|
|
|
else if (lpnm->dwItemSpec == DWORD(STATUSBAR_UNICODE_TYPE))
|
|
|
|
|
{
|
|
|
|
|
POINT p;
|
|
|
|
|
::GetCursorPos(&p);
|
|
|
|
|
HMENU hLangMenu = ::GetSubMenu(_mainMenuHandle, MENUINDEX_FORMAT);
|
|
|
|
|
TrackPopupMenu(hLangMenu, 0, p.x, p.y, 0, _pPublicInterface->getHSelf(), NULL);
|
|
|
|
|
}
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|
else if (_pDocumentListPanel && notification->nmhdr.hwndFrom == _pDocumentListPanel->getHSelf())
|
|
|
|
|