MCPcopy Create free account
hub / github.com/Tencent/tgfx / WndProc

Method WndProc

win/src/TGFXWindow.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78LRESULT CALLBACK TGFXWindow::WndProc(HWND window, UINT message, WPARAM wparam,
79 LPARAM lparam) noexcept {
80 auto tgfxWindow = reinterpret_cast<TGFXWindow*>(GetWindowLongPtr(window, GWLP_USERDATA));
81 if (tgfxWindow != nullptr) {
82 return tgfxWindow->handleMessage(window, message, wparam, lparam);
83 }
84 return DefWindowProc(window, message, wparam, lparam);
85}
86
87LRESULT TGFXWindow::handleMessage(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) noexcept {
88 switch (message) {

Callers

nothing calls this directly

Calls 1

handleMessageMethod · 0.80

Tested by

no test coverage detected