1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-19 21:35:26 -05:00
Simon Tatham 307e909b51 Windows: rethink API of write_aclip().
That clipboard-writing function is called just once, from the Event
Log dialog procedure, for when the user deliberately copies to the
clipboard. That call always passes must_deselect = true, which means
the conditional WM_IGNORE_CLIP messages are not sent. So it's simpler
to remove that parameter completely, and the conditional calls which
are never used.

Also, the clipboard data copied from the Event Log dialog is being put
in the clipboard associated with the main PuTTY terminal window. But
anything else we copy from a dialog box using Windows's built-in
copy-paste mechanisms would surely be associated with the _dialog_,
not its parent window. So we should do the same thing here. Therefore,
I've added a HWND parameter to write_aclip() and used that in place of
wgs.term_hwnd, so that we can pass in the HWND of the dialog itself.
2022-09-13 11:26:57 +01:00
..
2022-09-03 11:59:12 +01:00
2021-05-27 09:48:32 +01:00
2022-08-03 20:48:46 +01:00
2022-09-03 12:02:48 +01:00
2022-09-03 11:59:12 +01:00
2022-09-03 11:59:12 +01:00
2017-05-07 16:29:01 +01:00