-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some options with some refactoring #588
Conversation
I changed GetAvailableTypes function to use EnumClipboardFormats API to keep all types. (but excluded CF_MAX format because it is not valid) |
27b073a
to
ca4221b
Compare
in void CCopyThread::OnClipboardChange(CString activeWindow, CString activeWindowTitle) i don't see any reason to always call oleData.GetAvailableTypes(); it's only used if they are using a copy buffer or the new option to save all. Can we only do this when needed. |
Oh, It was my miss. I'll update it together with FocusCaret fix. |
for solving #584 added some options.
About GetAvailableTypes functions, there is re-check part after get available format using GetNextFormat.Because GetNextFormat has a bug that not return some of formats (especially CF_DIB), it will re-check to cover include at least the standard formats. Refrefactoring things
Happy new year~