Opacity问题 有些Opacity不为1的窗体,截屏时怎么才能截到它? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 不能调整 Opacity吗?如果是别的窗体 看看下面能不能帮你 [DllImport("user32.dll")] private static extern int SetWindowLong(IntPtr hwnd, int nIndex, int dwNewLong); [DllImport("user32.dll")] private static extern int SetLayeredWindowAttributes(IntPtr hwnd, int crKey, byte bAlpha, int dwFlags); private void SetFromOpacity(IntPtr p_Handle, byte p_Numb) { SetWindowLong(this.Handle, (-20), 0x80000); SetLayeredWindowAttributes(this.Handle, 0, 50, 0x2); } 错了 [DllImport("user32.dll")] private static extern int SetWindowLong(IntPtr hwnd, int nIndex, int dwNewLong); [DllImport("user32.dll")] private static extern int SetLayeredWindowAttributes(IntPtr hwnd, int crKey, byte bAlpha, int dwFlags); private void SetFromOpacity(IntPtr p_Handle, byte p_Numb) { SetWindowLong(p_Handle, (-20), 0x80000); SetLayeredWindowAttributes(p_Handle, 0, p_Numb, 0x2); } 截图时调整为不透明,截园了再调回去或者用Control.DrawToBitmap看可不可以 使用GDI+,目前我还没找到更好的方法,按楼上zgke和cpio的建议,采用调整Opacity来达到目的。 iis配置问题 字符串转换 调用STORE PROCEDURE 在VC#2005中为什么按一下ctrl +v 整个编辑区都会闪一下? 请教:dataset的EnforceConstraints(约束)属性 api函数求助~~~~~~ 分不多了,跪求!循环插入记录 validating问题,大家帮忙啊,多谢了 关于DirectX组件的使用. 关于 System.Windows.Forms.NotifyIcon 的click事件??? 各位大哥谁有 crystal reports 10 客户端下载 c# 的 Delegates 概念
private static extern int SetWindowLong(IntPtr hwnd, int nIndex, int dwNewLong);
[DllImport("user32.dll")]
private static extern int SetLayeredWindowAttributes(IntPtr hwnd, int crKey, byte bAlpha, int dwFlags); private void SetFromOpacity(IntPtr p_Handle, byte p_Numb)
{
SetWindowLong(this.Handle, (-20), 0x80000);
SetLayeredWindowAttributes(this.Handle, 0, 50, 0x2); }
[DllImport("user32.dll")]
private static extern int SetWindowLong(IntPtr hwnd, int nIndex, int dwNewLong);
[DllImport("user32.dll")]
private static extern int SetLayeredWindowAttributes(IntPtr hwnd, int crKey, byte bAlpha, int dwFlags); private void SetFromOpacity(IntPtr p_Handle, byte p_Numb)
{
SetWindowLong(p_Handle, (-20), 0x80000);
SetLayeredWindowAttributes(p_Handle, 0, p_Numb, 0x2); }
截图时调整为不透明,截园了再调回去或者用Control.DrawToBitmap看可不可以