Вот мое мнение по этому поводу:
Код: Выделить всё
#include
#include
#include
#pragma comment(lib, "Comctl32.lib")
// Subclass procedure to block WM_MOUSELEAVE
LRESULT CALLBACK SubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
{
if (uMsg == WM_MOUSELEAVE)
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79083165/setwindowsubclass-on-windows-10-notepad[/url]
Мобильная версия