summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/Utils.cpp
AgeCommit message (Collapse)Author
2017-08-05Change rest of Miranda NG links to https://Robert Pösel
2017-02-14- fixes #712 (chaos in file name processing)George Hazan
- massive code cleaning
2017-01-01bump copyright yeardartraiden
2016-07-27less TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-26less TCHARs:George Hazan
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25hello, Unix.George Hazan
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-02Copyrights update part 3 (final)Dart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@15986 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-07-29- warning fixes;George Hazan
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14757 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-07-26common projectsKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@14724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-24replace wcscpy to mir_wstrcpyKirill Volinsky
replace wcscat to mir_wstrcat replace wcsncat to mir_wstrncat replace wcscmp to mir_wstrcmp replace wcsicmp to mir_wstrcmpi git-svn-id: http://svn.miranda-ng.org/main/trunk@13814 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-01-01SendSS:René Schümann
! really fixed fix in r11622 and #699 comment 12 git-svn-id: http://svn.miranda-ng.org/main/trunk@11710 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-31Year 2015 version updateGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-27SendSS:René Schümann
- cleaned up our mir_string stuff and removed lots of custom implementations as we use those of NG core now (couldn't get rid of mir_string though.. we still use some custom stuff) git-svn-id: http://svn.miranda-ng.org/main/trunk@11650 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* CaptureMonitor() redone + now takes a crop parameter which allows us to capture any region of the screen (or a window) * CaptureScreen() renamed to CreateDIBFromDC() ! fixed problems with multi-monitor support. We didn't handle negative screen coordinates (monitors to the left) as reported in #699 comment 12: http://trac.miranda-ng.org/ticket/699#comment:12 - removed commented out CaptureDesktop() git-svn-id: http://svn.miranda-ng.org/main/trunk@11622 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* German debug output englishfied git-svn-id: http://svn.miranda-ng.org/main/trunk@11613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* optimize helper functions by adding "const" to read-only string parameters git-svn-id: http://svn.miranda-ng.org/main/trunk@11612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-01SendSS v0.8.7.0René Schümann
* improved highlighter/finder, now stops at top-level windows and not at last owner, SHIFT/ALT also finds every child (UMainForm) + added compatibility option for window capture (it captures indirectly) (UMainForm,Utils,resource) * improved tab control creation (UMainForm) ! fixed handle leak (from r9609, still causes Miranda to freeze while "editor" is open. TBD) (UMainForm) git-svn-id: http://svn.miranda-ng.org/main/trunk@9634 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-13! fixed desktop capture on at least Win7 without Aero (been a year since ↵René Schümann
change, now bugs start to show up... the hack?!) bug/regression introduced in r6789 git-svn-id: http://svn.miranda-ng.org/main/trunk@9465 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-10SendSS:René Schümann
* improved GetFileName() to also handle Unix paths (Utils) !* improved and fixed dialog, caused graphical issues before, also improved tab order (UMainForm, resource) * improved resource.rc a bit. Now use defines for UInfoButtonClass styles * replaced some mir_freeAndNil() calls with mir_free() where appreciated (UMainForm, UAboutForm) * minor update to Dropbox support. no real change git-svn-id: http://svn.miranda-ng.org/main/trunk@8939 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-03SendSSRené Schümann
* changed LPSTR to char* and LPTSTR to TCHAR* * GetFileName split into A and W functions (Utils.cpp) git-svn-id: http://svn.miranda-ng.org/main/trunk@8834 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-03-12Some fixes for x64: SetWindowLong -> SetWindowLongPtr, GetWindowLong -> ↵Rozhuk Ivan
GetWindowLongPtr git-svn-id: http://svn.miranda-ng.org/main/trunk@8572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-01copyright update for year 2014George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05ooops...René Schümann
- removed slipped through todo's / comments ! fixed bug I introduced (file numbering...) also fixed a case were file-number exceeds "maximum" of 99999 (5 chars) * changed default output format to "png" instead of "tif" (why tif? it can't even be used by everyone...) ! fixed "maybe" uninitialized variable ! fixed memory leak ! fixed freeing a pointer thats still used (man this code's ugly..) git-svn-id: http://svn.miranda-ng.org/main/trunk@6791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// final commit (5 out of 5)René Schümann
+ added new window selection highlighting (removed old one and functions related to it) + fully added functionality to capture child windows (this also enables to capture singe controls such as buttons or entire groups) hold SHIFT or ALT while selecting a window to capture child windows *+ new target icon (made by me :P better visibility on black and white surfaces) git-svn-id: http://svn.miranda-ng.org/main/trunk@6790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// 4 out of 5René Schümann
! fixed transparency issues when capturing windows + added support to capture child windows (next commit) * changed order of "set foreground" and "make top window" to hopefully fix usability problems related to it, also "restore" top window after capture git-svn-id: http://svn.miranda-ng.org/main/trunk@6789 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// 3 out of 5René Schümann
! fixed allocation of new char[] and freeing as Gdiplus::ImageCodecInfo struct ! fixed missing initialization (also reordered to comply declaration) * allowed target window to be reused if "Open Again" is set. git-svn-id: http://svn.miranda-ng.org/main/trunk@6788 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// 2 out of XRené Schümann
* cleanup (nothing functional) commented out unused functions, simplified some code, removed "unused" returns git-svn-id: http://svn.miranda-ng.org/main/trunk@6787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-14old ansi popups removed, noone used them anywayGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@4034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-13- another portion of '#ifdef UNICODE' clean upVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@3993 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-09fixed crash when click SendSS item in main menuKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@3936 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-09removed not used headersKirill Volinsky
added version info removed uinfo icon pack dependence git-svn-id: http://svn.miranda-ng.org/main/trunk@3933 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-20removed old revision informationKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@3213 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-08-03rest of those unicode core checksGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@1346 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-08-03removed the Unicode core verificationGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@1342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-07-23SecureIM, SeenPlugin, SendSS, Sessions: changed folder structure Vadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@1122 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c