From 9252cc719b26bcdc09fccc5aa13f8944f46fe74e Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 20 Nov 2019 13:38:26 +0100 Subject: api function to get HWND of the radar window --- GdiRadarLib/GdiRadar.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'GdiRadarLib/GdiRadar.cpp') diff --git a/GdiRadarLib/GdiRadar.cpp b/GdiRadarLib/GdiRadar.cpp index 75f4eca..b62dfd2 100644 --- a/GdiRadarLib/GdiRadar.cpp +++ b/GdiRadarLib/GdiRadar.cpp @@ -216,6 +216,11 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM l return DefWindowProcW(hwnd, message, wparam, lparam); } +HWND gdi_radar_get_hwnd(struct gdi_radar_context * const ctx) +{ + return ctx->myDrawWnd; +} + struct gdi_radar_context * const gdi_radar_configure(struct gdi_radar_config const * const cfg, HINSTANCE hInst) -- cgit v1.2.3