Logo
Explore Help
Sign In
ModdingRX/TmpMenu
1
0
Fork 0
You've already forked TmpMenu
mirror of https://github.com/Mr-X-GTA/YimMenu.git synced 2025-06-18 07:07:32 +08:00
Code Issues Actions 1 Packages Projects Releases Wiki Activity
TmpMenu/src/hooks/gui/wndproc.cpp

17 lines
340 B
C++
Raw Normal View History

General code and GUI cleanup (#1200) * feat(native_hooks): removed useless bail kick hook * feat(Translations): add button to force update languages * refactor: reorganize GUI for world * refactor: improve exception handler Modified the exception handler to not catch C++ try/catch blocks before those could gracefully catch the error. * chore: debug removed crash test button * chore: removed script exception handler * feat(OrbitalDrone): add translations * feat(VehicleController): add translation keys * feat: added player admin detected translation keys * feat(Views): add cache sub menu
2023-04-07 23:08:34 +02:00
#include "hooking.hpp"
#include "renderer.hpp"
#include "script.hpp"
namespace big
{
LRESULT hooks::wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
{
if (g_running)
{
g_renderer->wndproc(hwnd, msg, wparam, lparam);
}
return CallWindowProcW(g_hooking->m_og_wndproc, hwnd, msg, wparam, lparam);
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.4 Page: 32ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API