Mercurial > foo_out_sdl
diff foosdk/sdk/libPPUI/CMiddleDragLite.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/CMiddleDragLite.h Mon Jan 05 02:15:46 2026 -0500 @@ -0,0 +1,9 @@ +#pragma once + +namespace PP { + //! Single-function-call API to add middle click drag capability to any standard Windows control. \n + //! Works with listviews, listboxes, treeviews, etc. \n + //! Window will be subclassed, lifetime of subclass managed automatically. No further interaction needed from your code. \n + //! If you also subclass it to handle middle click events, pay attention to order in which you install the subclasses to receive your events. + void addMiddleDragToCtrl(HWND wndCtrl); +}
