摘要:
//调用 ListTitleHandle = new List<IntPtr>(); var r = EnumWindows(PrintWindow, "计算器"); //函数指针类型 delegate bool deleWindowsProc(IntPtr hWnd, string lParam) 阅读全文
摘要:
参数为 Stream 如果实体: 参考: http://www.voidcn.com/article/p-ejufiyei-ud.html 阅读全文
摘要:
work great for me in my web application with a little change it was not copying image to clipboard 阅读全文
摘要:
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 ... 阅读全文
摘要:
%%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... 阅读全文
摘要:
using System; using System.Runtime.InteropServices; using HWND = System.IntPtr; using HANDLE = System.IntPtr; namespace Win32 { public struct DRAGINFO { public int uSize; p... 阅读全文
摘要:
using System; using System.Runtime.InteropServices; using System.Text; using HANDLE = System.IntPtr; using HWND = System.IntPtr; namespace Win32 { /// /// 时间结构体 Modify by Ward /// ... 阅读全文
摘要:
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/... 阅读全文
摘要:
void ActiveWin(IntPtr h) { IntPtr hForeWnd = GetForegroundWindow();//获取当前窗口句柄 int tIdCur = GetWindowThreadProcessId(hForeWnd, IntPtr.Zero);//获取当前窗口句柄的线程ID ... 阅读全文