diff foosdk/sdk/libPPUI/HyperLinkCtrl.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/foosdk/sdk/libPPUI/HyperLinkCtrl.h	Mon Jan 05 02:15:46 2026 -0500
@@ -0,0 +1,8 @@
+#pragma once
+#include <functional>
+namespace PP {
+	// One-line method to turn static control to hyperlink firing WM_NOTIFY
+	void createHyperLink(HWND wndReplaceMe);
+	void createHyperLink(HWND wndReplaceMe, std::function<void ()> handler);
+	void createHyperLink(HWND wndReplaceMe, const wchar_t * openURL);
+}
\ No newline at end of file