QPasteWnd.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. #pragma once
  2. #include "QListCtrl.h"
  3. #include "SearchEditBox.h"
  4. #include "WndEx.h"
  5. #include "GroupStatic.h"
  6. #include "GroupTree.h"
  7. #include "AlphaBlend.h"
  8. #include "Sqlite\CppSQLite3.h"
  9. #include <vector>
  10. #include <list>
  11. #include <map>
  12. #include <afxmt.h>
  13. #include "ClipFormatQListCtrl.h"
  14. #include "QPasteWndThread.h"
  15. #include "editwithbutton.h"
  16. #include "GdipButton.h"
  17. #include "SpecialPasteOptions.h"
  18. #include "ClipIds.h"
  19. #include "SymbolEdit.h"
  20. #include "Popup.h"
  21. #include "CustomFriendsHelper.h"
  22. class CMainTable
  23. {
  24. public:
  25. CMainTable():
  26. m_lID( - 1),
  27. m_bDontAutoDelete(false),
  28. m_bIsGroup(false),
  29. m_bHasShortCut(false),
  30. m_bHasParent(false),
  31. m_dateCopied(0),
  32. m_datePasted(0)
  33. {
  34. }
  35. ~CMainTable()
  36. {
  37. }
  38. long m_lID;
  39. CString m_Desc;
  40. bool m_bDontAutoDelete;
  41. bool m_bIsGroup;
  42. bool m_bHasShortCut;
  43. bool m_bHasParent;
  44. CString m_QuickPaste;
  45. double m_clipOrder;
  46. double m_clipGroupOrder;
  47. double m_stickyClipOrder;
  48. double m_stickyClipGroupOrder;
  49. int m_dateCopied;
  50. int m_datePasted;
  51. static bool SortDesc(const CMainTable& d1, const CMainTable& d2)
  52. {
  53. double d1StickyOrder = d1.m_stickyClipOrder;
  54. double d2StickyOrder = d2.m_stickyClipOrder;
  55. if (d1StickyOrder != d2StickyOrder)
  56. return d1StickyOrder > d2StickyOrder;
  57. if (d1.m_bIsGroup != d2.m_bIsGroup)
  58. return d1.m_bIsGroup < d2.m_bIsGroup;
  59. return d1.m_clipOrder > d2.m_clipOrder;
  60. }
  61. static bool GroupSortDesc(const CMainTable& d1, const CMainTable& d2)
  62. {
  63. double d1StickyOrder = d1.m_stickyClipGroupOrder;
  64. double d2StickyOrder = d2.m_stickyClipGroupOrder;
  65. if (d1StickyOrder != d2StickyOrder)
  66. return d1StickyOrder > d2StickyOrder;
  67. if (d1.m_bIsGroup != d2.m_bIsGroup)
  68. return d1.m_bIsGroup < d2.m_bIsGroup;
  69. return d1.m_clipGroupOrder > d2.m_clipGroupOrder;
  70. }
  71. };
  72. typedef std::map < int, CMainTable > MainTypeMap;
  73. typedef std::map < int, CClipFormatQListCtrl > CF_DibTypeMap;
  74. typedef std::map < int, char > CF_NoDibTypeMap;
  75. /////////////////////////////////////////////////////////////////////////////
  76. // CQPasteWnd window
  77. class CQPasteWnd: public CWndEx
  78. {
  79. // Construction
  80. public:
  81. CQPasteWnd();
  82. // Attributes
  83. public:
  84. // Operations
  85. public:
  86. // Overrides
  87. // ClassWizard generated virtual function overrides
  88. //{{AFX_VIRTUAL(CQPasteWnd)
  89. public:
  90. virtual BOOL Create(CRect rect, CWnd *pParentWnd);
  91. virtual BOOL PreTranslateMessage(MSG *pMsg);
  92. bool CheckActions(MSG * pMsg);
  93. //}}AFX_VIRTUAL
  94. // Implementation
  95. public:
  96. bool Add(const CString &csHeader, const CString &csText, int nID);
  97. virtual ~CQPasteWnd();
  98. void UpdateFont();
  99. //protected:
  100. CQListCtrl m_lstHeader;
  101. CAlphaBlend m_Alpha;
  102. //CEditWithButton m_search;
  103. CSymbolEdit m_search;
  104. CFont m_SearchFont;
  105. bool m_bHideWnd;
  106. CString m_strSQLSearch;
  107. CString m_strSearch;
  108. CGroupStatic m_stGroup;
  109. CFont m_groupFont;
  110. CString m_Title;
  111. CGroupTree m_GroupTree;
  112. CGdipButton m_ShowGroupsFolderBottom;
  113. CGdipButton m_BackButton;
  114. CGroupStatic m_alwaysOnToWarningStatic;
  115. CGdipButton m_systemMenu;
  116. CGroupStatic m_noSearchResultsStatic;
  117. CString m_SQL;
  118. CString m_CountSQL;
  119. long m_lRecordCount;
  120. bool m_bStopQuery;
  121. bool m_bHandleSearchTextChange;
  122. bool m_bModifersMoveActive;
  123. CQPasteWndThread m_thread;
  124. CQPasteWndThread m_extraDataThread;
  125. std::vector<CMainTable> m_listItems;
  126. std::list<CPoint> m_loadItems;
  127. std::list<CClipFormatQListCtrl> m_ExtraDataLoadItems;
  128. CF_DibTypeMap m_cf_dibCache;
  129. CF_NoDibTypeMap m_cf_NO_dibCache;
  130. CF_DibTypeMap m_cf_rtfCache;
  131. CF_NoDibTypeMap m_cf_NO_rtfCache;
  132. CCriticalSection m_CritSection;
  133. CAccels m_actions;
  134. CAccels m_toolTipActions;
  135. CAccels m_modifierKeyActions;
  136. bool m_showScrollBars;
  137. int m_leftSelectedCompareId;
  138. INT64 m_extraDataCounter;
  139. CPopup m_popupMsg;
  140. CCustomFriendsHelper m_customFriendsHelper;
  141. bool m_noSearchResults;
  142. void RefreshNc();
  143. void UpdateStatus(bool bRepaintImmediately = false); // regenerates the status (caption) text
  144. BOOL FillList(CString csSQLSearch = "");
  145. BOOL HideQPasteWindow(bool releaseFocus, bool clearSearchData = true);
  146. BOOL ShowQPasteWindow(BOOL bFillList = TRUE);
  147. void MoveControls();
  148. void DeleteSelectedRows();
  149. BOOL OpenID(int id, CSpecialPasteOptions pasteOptions);
  150. BOOL OpenSelection(CSpecialPasteOptions pasteOptions);
  151. BOOL OpenIndex(int item);
  152. BOOL NewGroup(bool bGroupSelection = true, int parentId = -1);
  153. CString LoadDescription(int nItem);
  154. bool SaveDescription(int nItem, CString text);
  155. //Menu Items
  156. void SetLinesPerRow(int lines, bool force, bool resetListCount);
  157. void SetTransparency(int percent);
  158. void OnUpdateLinesPerRow(CCmdUI *pCmdUI, int nValue);
  159. void OnUpdateTransparency(CCmdUI *pCmdUI, int nValue);
  160. void SetMenuChecks(CMenu *pMenu);
  161. void SetSendToMenu(CMenu *pMenu, int nMenuID, int nArrayPos);
  162. void SetFriendChecks(CMenu *pMenu);
  163. BOOL SendToFriendbyPos(int nPos, CString override_IP_Host);
  164. bool InsertNextNRecords(int nEnd);
  165. CString GetDisplayText(int lDontAutoDelete, int lShortCut, bool bIsGroup, int lParentID, CString csText);
  166. void FillMainTable(CMainTable &table, CppSQLite3Query &q);
  167. void RunThread();
  168. void MoveSelection(bool down, bool requireModifersActive);
  169. void OnKeyStateUp();
  170. void SetKeyModiferState(bool bActive);
  171. void SaveWindowSize();
  172. void SelectFocusID();
  173. void HideMenuGroup(CMenu* menu, CString text);
  174. void SetSearchImages();
  175. void RemoveStickyInternal(int id, bool &sort);
  176. DROPEFFECT OnDragOver(COleDataObject* pDataObject, DWORD dwKeyState, CPoint point);
  177. DROPEFFECT OnDragEnter(COleDataObject* pDataObject, DWORD dwKeyState, CPoint point);
  178. BOOL OnDrop(COleDataObject* pDataObject, DROPEFFECT dropEffect, CPoint point);
  179. void OnDragLeave();
  180. COleDropTarget *m_pDropTarget;
  181. bool DoAction(CAccel a);
  182. bool DoAction(DWORD cmd);
  183. bool DoActionShowDescription();
  184. bool DoActionNextDescription();
  185. bool DoActionPrevDescription();
  186. bool DoActionShowMenu();
  187. bool DoActionNewGroup();
  188. bool DoActionNewGroupSelection();
  189. bool DoActionToggleFileLogging();
  190. bool DoActionToggleOutputDebugString();
  191. bool DoActionCloseWindow();
  192. bool DoActionNextTabControl();
  193. bool DoActionPrevTabControl();
  194. bool DoActionShowGroups();
  195. bool DoActionNewClip();
  196. bool DoActionEditClip();
  197. bool DoActionMoveSelectionDown();
  198. bool DoActionToggleDescriptionWordWrap();
  199. bool DoActionApplyLastSearch();
  200. bool DoActionToggleSearchMethod();
  201. bool DoActionPasteScript(CString scriptGuid);
  202. bool DoActionMoveSelectionUp();
  203. bool DoModifierActiveActionSelectionUp();
  204. bool DoModifierActiveActionSelectionDown();
  205. bool DoModifierActiveActionMoveFirst();
  206. bool DoModifierActiveActionMoveLast();
  207. bool DoActionCancelFilter();
  208. bool DoActionHomeList();
  209. bool DoActionBackGroup();
  210. bool DoActionToggleShowPersistant();
  211. bool DoActionDeleteSelected();
  212. bool DoActionPasteSelected();
  213. bool DoActionClipProperties();
  214. bool DoActionPasteSelectedPlainText();
  215. bool DoActionMoveClipToGroup();
  216. bool DoActionElevatePrivleges();
  217. bool DoShowInTaskBar();
  218. bool DoClipCompare();
  219. bool DoSelectLeftSideCompare();
  220. bool DoSelectRightSideAndDoCompare();
  221. bool DoExportToQRCode();
  222. bool DoExportToTextFile();
  223. bool DoExportToGoogleTranslate();
  224. bool DoExportToBitMapFile();
  225. bool DoSaveCurrentClipboard();
  226. bool DoMoveClipDown();
  227. bool DoMoveClipUp();
  228. bool DoMoveClipTOP();
  229. bool DoMoveClipLast();
  230. bool DoFilterOnSelectedClip();
  231. bool DoPasteUpperCase();
  232. bool DoPasteLowerCase();
  233. bool DoPasteCapitalize();
  234. bool DoPasteSentenceCase();
  235. bool DoPasteRemoveLineFeeds();
  236. bool DoPastePlusAddLineFeed();
  237. bool DoPasteAddTwoLineFeeds();
  238. bool DoPasteTypoglycemia();
  239. bool DoPasteAddCurrentTime();
  240. bool OnShowFirstTenText();
  241. bool OnShowClipWasPasted();
  242. bool OnToggleLastGroupToggle();
  243. bool OnMakeTopSticky(bool forceSort);
  244. bool OnMakeLastSticky();
  245. bool OnRemoveStickySetting();
  246. bool DoActionReplaceTopStickyClip();
  247. bool DoActionPromptSendToFriend();
  248. bool DoActionSaveCF_HDROP_FileData();
  249. bool DoActionToggleClipboardConnection();
  250. bool DoActionPasteDontMoveClip();
  251. bool DoActionPasteTrimWhiteSpace();
  252. bool DoActionToggleTransparency();
  253. bool DoActionIncreaseTransparency();
  254. bool DoActionDecreaseTransparency();
  255. bool OnNewClip();
  256. bool OnImportClip();
  257. bool OnDeleteClipData();
  258. bool OnGlobalHotkyes();
  259. void UpdateMenuShortCut(CCmdUI *pCmdUI, DWORD action);
  260. bool ShowProperties(int id, int row);
  261. bool DeleteClips(CClipIDs &IDs, ARRAY &Indexs);
  262. void RemoveFromImageRtfCache(int id);
  263. bool SyncClipDataToArrayData(CClip &clip);
  264. bool SelectIds(ARRAY &ids);
  265. void LoadShortcuts();
  266. void ShowRightClickMenu();
  267. void SetCurrentTransparency();
  268. // Generated message map functions
  269. protected:
  270. //{{AFX_MSG(CQPasteWnd)
  271. DECLARE_MESSAGE_MAP()
  272. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  273. afx_msg void OnSize(UINT nType, int cx, int cy);
  274. afx_msg void OnSetFocus(CWnd *pOldWnd);
  275. afx_msg void OnKillFocus(CWnd *pOldWnd);
  276. afx_msg void OnActivate(UINT nState, CWnd *pWndOther, BOOL bMinimized);
  277. afx_msg void OnMenuLinesperrow1();
  278. afx_msg void OnMenuLinesperrow2();
  279. afx_msg void OnMenuLinesperrow3();
  280. afx_msg void OnMenuLinesperrow4();
  281. afx_msg void OnMenuLinesperrow5();
  282. afx_msg void OnMenuTransparency10();
  283. afx_msg void OnMenuTransparency15();
  284. afx_msg void OnMenuTransparency20();
  285. afx_msg void OnMenuTransparency25();
  286. afx_msg void OnMenuTransparency30();
  287. afx_msg void OnMenuTransparency40();
  288. afx_msg void OnMenuTransparency5();
  289. afx_msg void OnMenuTransparencyNone();
  290. afx_msg void OnMenuDelete();
  291. afx_msg void OnMenuPositioningAtcaret();
  292. afx_msg void OnMenuPositioningAtcursor();
  293. afx_msg void OnMenuPositioningAtpreviousposition();
  294. afx_msg void OnMenuOptions();
  295. afx_msg LRESULT OnCancelFilter(WPARAM wParam, LPARAM lParam);
  296. afx_msg void OnMenuExitprogram();
  297. afx_msg void OnMenuToggleConnectCV();
  298. afx_msg void OnMenuProperties();
  299. afx_msg void OnClose();
  300. afx_msg void OnBegindrag(NMHDR *pNMHDR, LRESULT *pResult);
  301. afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  302. afx_msg void GetDispInfo(NMHDR *pNMHDR, LRESULT *pResult);
  303. afx_msg void OnFindItem(NMHDR *pNMHDR, LRESULT *pResult);
  304. afx_msg void OnMenuFirsttenhotkeysUsectrlnum();
  305. afx_msg void OnMenuFirsttenhotkeysShowhotkeytext();
  306. afx_msg void OnMenuQuickoptionsAllwaysshowdescription();
  307. afx_msg void OnMenuQuickoptionsDoubleclickingoncaptionTogglesalwaysontop();
  308. afx_msg void OnMenuQuickoptionsDoubleclickingoncaptionRollupwindow();
  309. afx_msg void OnMenuQuickoptionsDoubleclickingoncaptionTogglesshowdescription();
  310. afx_msg void OnMenuQuickoptionsPromptfornewgroupnames();
  311. afx_msg void OnShowGroupsBottom();
  312. afx_msg void OnShowGroupsTop();
  313. afx_msg void OnMenuViewgroups();
  314. afx_msg void OnMenuQuickpropertiesSettoneverautodelete();
  315. afx_msg void OnMenuQuickpropertiesAutodelete();
  316. afx_msg void OnMenuQuickpropertiesRemovehotkey();
  317. afx_msg void OnMenuSenttoFriendEight();
  318. afx_msg void OnMenuSenttoFriendEleven();
  319. afx_msg void OnMenuSenttoFriendFifteen();
  320. afx_msg void OnMenuSenttoFriendFive();
  321. afx_msg void OnMenuSenttoFriendFore();
  322. afx_msg void OnMenuSenttoFriendForeteen();
  323. afx_msg void OnMenuSenttoFriendNine();
  324. afx_msg void OnMenuSenttoFriendSeven();
  325. afx_msg void OnMenuSenttoFriendSix();
  326. afx_msg void OnMenuSenttoFriendTen();
  327. afx_msg void OnMenuSenttoFriendThirteen();
  328. afx_msg void OnMenuSenttoFriendThree();
  329. afx_msg void OnMenuSenttoFriendTwelve();
  330. afx_msg void OnMenuSenttoFriendTwo();
  331. afx_msg void OnMenuSenttoFriendone();
  332. afx_msg void OnMenuSenttoPromptforip();
  333. afx_msg void OnMenuGroupsMovetogroup();
  334. afx_msg void OnMenuPasteplaintextonly();
  335. afx_msg void OnMenuHelp();
  336. afx_msg void OnMenuQuickoptionsFont();
  337. afx_msg void OnMenuQuickoptionsShowthumbnails();
  338. afx_msg void OnMenuQuickoptionsDrawrtftext();
  339. afx_msg void OnMenuQuickoptionsPasteclipafterselection();
  340. afx_msg void OnSearchEditChange();
  341. afx_msg void OnMenuQuickoptionsFindasyoutype();
  342. afx_msg void OnMenuQuickoptionsEnsureentirewindowisvisible();
  343. afx_msg void OnMenuQuickoptionsShowclipsthatareingroupsinmainlist();
  344. afx_msg void OnMenuPastehtmlasplaintext();
  345. afx_msg void OnPromptToDeleteClip();
  346. afx_msg void OnUpdateMenuNewgroup(CCmdUI *pCmdUI);
  347. afx_msg void OnUpdateMenuNewgroupselection(CCmdUI *pCmdUI);
  348. afx_msg void OnUpdateMenuAllwaysontop(CCmdUI *pCmdUI);
  349. afx_msg void OnUpdateMenuViewfulldescription(CCmdUI *pCmdUI);
  350. afx_msg void OnUpdateMenuViewgroups(CCmdUI *pCmdUI);
  351. afx_msg void OnUpdateMenuPasteplaintextonly(CCmdUI *pCmdUI);
  352. afx_msg void OnUpdateMenuDelete(CCmdUI *pCmdUI);
  353. afx_msg void OnUpdateMenuProperties(CCmdUI *pCmdUI);
  354. afx_msg void OnDestroy();
  355. afx_msg LRESULT OnSearchEnterKeyPressed(WPARAM wParam, LPARAM lParam);
  356. afx_msg LRESULT OnListEnd(WPARAM wParam, LPARAM lParam);
  357. afx_msg LRESULT OnSearch(WPARAM wParam, LPARAM lParam);
  358. afx_msg LRESULT OnDelete(WPARAM wParam, LPARAM lParam);
  359. afx_msg void OnGetToolTipText(NMHDR *pNMHDR, LRESULT *pResult);
  360. afx_msg LRESULT OnListSelect_DB_ID(WPARAM wParam, LPARAM lParam);
  361. afx_msg LRESULT OnListMoveSelectionToGroup(WPARAM wParam, LPARAM lParam);
  362. afx_msg LRESULT OnRefreshView(WPARAM wParam, LPARAM lParam);
  363. afx_msg LRESULT OnReloadClipAfterPaste(WPARAM wParam, LPARAM lParam);
  364. afx_msg LRESULT OnGroupTreeMessage(WPARAM wParam, LPARAM lParam);
  365. afx_msg LRESULT OnFillRestOfList(WPARAM wParam, LPARAM lParam);
  366. afx_msg LRESULT OnRefeshRow(WPARAM wParam, LPARAM lParam);
  367. afx_msg LRESULT OnSetListCount(WPARAM wParam, LPARAM lParam);
  368. afx_msg HBRUSH CtlColor(CDC *pDC, UINT nCtlColor);
  369. afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
  370. afx_msg void OnViewcaptionbaronRight();
  371. afx_msg void OnViewcaptionbaronBottom();
  372. afx_msg void OnViewcaptionbaronLeft();
  373. afx_msg void OnViewcaptionbaronTop();
  374. afx_msg void OnMenuAutohide();
  375. afx_msg void OnMenuViewfulldescription();
  376. afx_msg void OnMenuAllwaysontop();
  377. afx_msg void OnMenuNewGroup();
  378. afx_msg void OnMenuNewGroupSelection();
  379. afx_msg void OnBackButton();
  380. afx_msg void OnSystemButton();
  381. afx_msg LRESULT OnUpDown(WPARAM wParam, LPARAM lParam);
  382. afx_msg LRESULT OnItemDeleted(WPARAM wParam, LPARAM lParam);
  383. LRESULT OnToolTipWndInactive(WPARAM wParam, LPARAM lParam);
  384. afx_msg void OnTimer(UINT_PTR nIDEvent);
  385. afx_msg void OnMenuExport();
  386. afx_msg void OnMenuImport();
  387. afx_msg void OnQuickpropertiesRemovequickpaste();
  388. afx_msg void OnMenuEdititem();
  389. afx_msg void OnMenuNewclip();
  390. afx_msg void OnUpdateMenuEdititem(CCmdUI *pCmdUI);
  391. afx_msg void OnUpdateMenuNewclip(CCmdUI *pCmdUI);
  392. afx_msg void OnAddinSelect(UINT id);
  393. afx_msg void OnCustomSendToFriend(UINT idIn);
  394. afx_msg void OnChaiScriptPaste(UINT idIn);
  395. afx_msg LRESULT OnSelectAll(WPARAM wParam, LPARAM lParam);
  396. afx_msg LRESULT OnShowHideScrollBar(WPARAM wParam, LPARAM lParam);
  397. afx_msg void OnMenuSearchDescription();
  398. afx_msg void OnMenuSearchFullText();
  399. afx_msg void OnMenuSearchQuickPaste();
  400. afx_msg void OnMenuSimpleTextSearch();
  401. afx_msg LRESULT OnPostOptions(WPARAM wParam, LPARAM lParam);
  402. afx_msg void OnMakeTopStickyClip();
  403. afx_msg void OnMakeLastStickyClip();
  404. afx_msg void OnRemoveSticky();
  405. afx_msg void OnElevateAppToPasteIntoElevatedApp();
  406. public:
  407. afx_msg void OnQuickoptionsShowintaskbar();
  408. afx_msg void OnMenuViewasqrcode();
  409. afx_msg void OnExportExporttotextfile();
  410. afx_msg void OnCompareCompare();
  411. afx_msg void OnCompareSelectleftcompare();
  412. afx_msg void OnCompareCompareagainst();
  413. afx_msg void OnUpdateCompareCompare(CCmdUI *pCmdUI);
  414. afx_msg LRESULT OnShowProperties(WPARAM wParam, LPARAM lParam);
  415. afx_msg LRESULT OnNewGroup(WPARAM wParam, LPARAM lParam);
  416. afx_msg LRESULT OnDeleteId(WPARAM wParam, LPARAM lParam);
  417. afx_msg void OnMenuRegularexpressionsearch();
  418. afx_msg void OnImportExporttogoogletranslate();
  419. afx_msg void OnUpdateImportExporttogoogletranslate(CCmdUI *pCmdUI);
  420. afx_msg void OnImportExportclipBitmap();
  421. afx_msg void OnUpdateImportExportclipBitmap(CCmdUI *pCmdUI);
  422. afx_msg void OnMenuWildcardsearch();
  423. afx_msg void OnMenuSavecurrentclipboard();
  424. afx_msg void OnUpdateMenuSavecurrentclipboard(CCmdUI *pCmdUI);
  425. afx_msg void OnCliporderMoveup();
  426. afx_msg void OnUpdateCliporderMoveup(CCmdUI *pCmdUI);
  427. afx_msg void OnCliporderMovedown();
  428. afx_msg void OnUpdateCliporderMovedown(CCmdUI *pCmdUI);
  429. afx_msg void OnCliporderMovetotop();
  430. afx_msg void OnUpdateCliporderMovetotop(CCmdUI *pCmdUI);
  431. afx_msg void OnMenuFilteron();
  432. afx_msg void OnUpdateMenuFilteron(CCmdUI *pCmdUI);
  433. afx_msg void OnAlwaysOnTopClicked();
  434. //afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  435. afx_msg void OnSpecialpasteUppercase();
  436. afx_msg void OnUpdateSpecialpasteUppercase(CCmdUI *pCmdUI);
  437. afx_msg void OnSpecialpasteLowercase();
  438. afx_msg void OnUpdateSpecialpasteLowercase(CCmdUI *pCmdUI);
  439. afx_msg void OnSpecialpasteCapitalize();
  440. afx_msg void OnUpdateSpecialpasteCapitalize(CCmdUI *pCmdUI);
  441. afx_msg void OnSpecialpasteSentence();
  442. afx_msg void OnUpdateSpecialpasteSentence(CCmdUI *pCmdUI);
  443. afx_msg void OnSpecialpasteRemovelinefeeds();
  444. afx_msg void OnUpdateSpecialpasteRemovelinefeeds(CCmdUI *pCmdUI);
  445. afx_msg void OnSpecialpastePaste();
  446. afx_msg void OnUpdateSpecialpastePaste(CCmdUI *pCmdUI);
  447. afx_msg void OnSpecialpastePaste32919();
  448. afx_msg void OnUpdateSpecialpastePaste32919(CCmdUI *pCmdUI);
  449. afx_msg void OnSpecialpasteTypoglycemia();
  450. afx_msg void OnUpdateSpecialpasteTypoglycemia(CCmdUI *pCmdUI);
  451. afx_msg void OnNMClickList1(NMHDR *pNMHDR, LRESULT *pResult);
  452. afx_msg void OnNMDblclkList1(NMHDR *pNMHDR, LRESULT *pResult);
  453. afx_msg void OnNMRClickList1(NMHDR *pNMHDR, LRESULT *pResult);
  454. afx_msg void OnNMRDblclkList1(NMHDR *pNMHDR, LRESULT *pResult);
  455. afx_msg void OnQuickoptionsShowtextforfirsttencopyhotkeys();
  456. afx_msg void OnUpdateQuickoptionsShowtextforfirsttencopyhotkeys(CCmdUI *pCmdUI);
  457. afx_msg void OnQuickoptionsShowindicatoracliphasbeenpasted();
  458. afx_msg void OnUpdateQuickoptionsShowindicatoracliphasbeenpasted(CCmdUI *pCmdUI);
  459. afx_msg void OnGroupsTogglelastgroup();
  460. afx_msg void OnUpdateGroupsTogglelastgroup(CCmdUI *pCmdUI);
  461. afx_msg void OnUpdateStickyclipsMaketopstickyclip(CCmdUI *pCmdUI);
  462. afx_msg void OnUpdateStickyclipsMakelaststickyclip(CCmdUI *pCmdUI);
  463. afx_msg void OnUpdateStickyclipsRemovestickysetting(CCmdUI *pCmdUI);
  464. afx_msg void OnSpecialpastePaste32927();
  465. afx_msg void OnUpdateSpecialpastePaste32927(CCmdUI *pCmdUI);
  466. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  467. afx_msg void OnMenuGlobalhotkeys32933();
  468. afx_msg void OnMenuDeleteclipdata32934();
  469. afx_msg void OnMenuImportclip32935();
  470. afx_msg void OnMenuNewclip32937();
  471. afx_msg void OnUpdateMenuImportclip32935(CCmdUI *pCmdUI);
  472. afx_msg void OnUpdateMenuNewclip32937(CCmdUI *pCmdUI);
  473. afx_msg void OnUpdateMenuGlobalhotkeys32933(CCmdUI *pCmdUI);
  474. afx_msg void OnUpdateMenuDeleteclipdata32934(CCmdUI *pCmdUI);
  475. afx_msg LRESULT OnSearchFocused(WPARAM wParam, LPARAM lParam);
  476. afx_msg void OnCliporderReplacetopstickyclip();
  477. afx_msg void OnUpdateCliporderReplacetopstickyclip(CCmdUI *pCmdUI);
  478. afx_msg void OnSendtoPromptforname();
  479. afx_msg void OnUpdateSendtoPromptforname(CCmdUI *pCmdUI);
  480. afx_msg void OnImportImportcopiedfile();
  481. afx_msg void OnUpdateImportImportcopiedfile(CCmdUI *pCmdUI);
  482. afx_msg void OnUpdate32775(CCmdUI *pCmdUI);
  483. afx_msg LRESULT OnDpiChanged(WPARAM wParam, LPARAM lParam);
  484. afx_msg void OnCliporderMovetolast();
  485. afx_msg void OnUpdateCliporderMovetolast(CCmdUI *pCmdUI);
  486. afx_msg LRESULT OnCopyClip(WPARAM wParam, LPARAM lParam);
  487. afx_msg void OnSpecialpastePasteDontUpdateOrder();
  488. afx_msg void OnUpdateOnSpecialPasteDontUpdateOrder(CCmdUI *pCmdUI);
  489. afx_msg void OnSpecialpasteTrim();
  490. afx_msg void OnUpdateSpecialpasteTrim(CCmdUI *pCmdUI);
  491. afx_msg void OnTransparencyIncrease();
  492. afx_msg void OnUpdateTransparencyIncrease(CCmdUI *pCmdUI);
  493. afx_msg void OnTransparencyDecrease();
  494. afx_msg void OnUpdateTransparencyDecrease(CCmdUI *pCmdUI);
  495. afx_msg void OnTransparencyToggle();
  496. afx_msg void OnUpdateTransparencyToggle(CCmdUI *pCmdUI);
  497. afx_msg void OnUpdateTransparencyNone(CCmdUI *pCmdUI);
  498. afx_msg void OnUpdateTransparency5(CCmdUI *pCmdUI);
  499. afx_msg void OnUpdateTransparency10(CCmdUI *pCmdUI);
  500. afx_msg void OnUpdateTransparency15(CCmdUI *pCmdUI);
  501. afx_msg void OnUpdateTransparency20(CCmdUI *pCmdUI);
  502. afx_msg void OnUpdateTransparency25(CCmdUI *pCmdUI);
  503. afx_msg void OnUpdateTransparency30(CCmdUI *pCmdUI);
  504. afx_msg void OnUpdateTransparency35(CCmdUI *pCmdUI);
  505. afx_msg void OnUpdateTransparency40(CCmdUI *pCmdUI);
  506. afx_msg void OnTransparency35();
  507. };