摘要: //调用 ListTitleHandle = new List<IntPtr>(); var r = EnumWindows(PrintWindow, "计算器"); //函数指针类型 delegate bool deleWindowsProc(IntPtr hWnd, string lParam) 阅读全文
posted @ 2020-11-24 20:48 -Ward- 阅读(3378) 评论(0) 推荐(0) 编辑
摘要: 参数为 Stream 如果实体: 参考: http://www.voidcn.com/article/p-ejufiyei-ud.html 阅读全文
posted @ 2019-04-30 16:48 -Ward- 阅读(178) 评论(0) 推荐(0) 编辑
摘要: work great for me in my web application with a little change it was not copying image to clipboard 阅读全文
posted @ 2019-04-04 17:38 -Ward- 阅读(363) 评论(0) 推荐(0) 编辑
摘要: These days, outlook emails are composed in three formats; plain text, html and rtf (rich text format). If an email is in rtf and it has attachments, as well as, embedded image or signature, it poses ... 阅读全文
posted @ 2019-04-04 15:28 -Ward- 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-31 01:35 -Ward- 阅读(189) 评论(0) 推荐(0) 编辑
摘要: %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a... 阅读全文
posted @ 2018-12-03 14:46 -Ward- 阅读(3749) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Runtime.InteropServices; using HWND = System.IntPtr; using HANDLE = System.IntPtr; namespace Win32 { public struct DRAGINFO { public int uSize; p... 阅读全文
posted @ 2018-11-22 11:24 -Ward- 阅读(263) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Runtime.InteropServices; using System.Text; using HANDLE = System.IntPtr; using HWND = System.IntPtr; namespace Win32 { /// /// 时间结构体 Modify by Ward /// ... 阅读全文
posted @ 2018-11-22 10:53 -Ward- 阅读(307) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Runtime.InteropServices; using System.Text; using HANDLE = System.IntPtr; using HWND = System.IntPtr; using HDC = System.IntPtr; namespace Win32 { public struct RECT/... 阅读全文
posted @ 2018-11-22 10:50 -Ward- 阅读(174) 评论(0) 推荐(0) 编辑
摘要: void ActiveWin(IntPtr h) { IntPtr hForeWnd = GetForegroundWindow();//获取当前窗口句柄 int tIdCur = GetWindowThreadProcessId(hForeWnd, IntPtr.Zero);//获取当前窗口句柄的线程ID ... 阅读全文
posted @ 2018-11-14 18:35 -Ward- 阅读(457) 评论(0) 推荐(0) 编辑