justinfrankel / licecap

LICEcap simple animated screen capture tool for Windows and OS X
http://www.cockos.com/licecap
5.29k stars 446 forks source link

Using a different method to allow the dialog being dragged #4

Closed assarbad closed 5 years ago

assarbad commented 8 years ago

This change may break the respective feature on the OSX build. So use caution when merging or simply use and modify the diff to your needs.

The method I use is a long-known way of tricking Windows into behaving as if the caption bar was clicked and then the mouse dragged, while the client area of the window or dialog is actually the click target.

This includes a handful of lines with white space changes where there where tabs and spaces mixed or excess blank spaces at the end of the line.

@justinfrankel thanks for a great tool.

assarbad commented 8 years ago

A functional and code-signed Windows binary (built with VS 2015) can be found over at https://github.com/assarbad/licecap/releases/tag/v1.26-alt-drag

justinfrankel commented 5 years ago

Thanks, I merged this and then ifdef'd the removed code (to preserve macOS behavior).