一:截图,主要是调用系统接口和更改注册表实现功能二:代码using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Window...
分类:
其他好文 时间:
2014-08-29 17:43:58
阅读次数:
299
一般情况下,点击程序任务栏的图标,程序会响应WM_SYSCOMMAND消息,然后再OnSysCommand()消息函数里面截取(nID & 0xFFF0) == SC_MINIMIZE这个消息。然后 ShowWindow(SW_HIDE); //隐藏当前窗口 Shell_NotifyIcon(NI....
分类:
其他好文 时间:
2014-08-20 11:48:56
阅读次数:
184
Windows7Taskbar的使用你需要引入3个文件VistaBridgeLibrary.dll、Windows7.DesktopIntegration.dll、Windows7.DesktopIntegration.Registration.exe下载地址:http://yunpan.cn/Qa...
分类:
其他好文 时间:
2014-08-15 12:43:18
阅读次数:
215
前言在某个时刻, 我认识了一个朋友.此人在我的教唆下, 踏上了js的不归路.前天他问我, Win7任务栏拖动效果怎么实现.我随口就跟他说, 这简单的一逼.在我一晚上的折腾之后, 一份潦草的代码总算实现了功能.PS: 我是搞C++的, js略懂一二..源码话不多说, 上源码. 1 // 常量 ...
winform当前的屏幕除任务栏外的工作域大小this.Width=System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width;this.Height=System.Windows.Forms.Screen.PrimaryScreen.Wo...
实现无标题的两种方法:配置xml文件和编写代码设置1.在AndroidManifest.xml文件中进行配置实现全屏效果:android:theme="@android:style/Theme.NoTitleBar.Fullscreen"实现无标题栏(但有系统自带的任务栏):android:them...
分类:
移动开发 时间:
2014-08-07 21:35:40
阅读次数:
215
这个版本的qt在这里有点bug。。设置ApplicationWindow的flags属性为Qt.FramelessWindowHint的确可以使程序无边框,但是同时程序在任务栏的图标也没了。看文档发现ApplicationWindow 是由 QQuickWindow 实现的,QQuickWindow...
分类:
移动开发 时间:
2014-08-06 22:27:42
阅读次数:
899
最近使用Outlook,但是发现很容易被关闭退出,不能实现关闭最小化。 在网上了找了很久也使用了outlook?on?the?desktop的插件,但是安装该插件后运行报错而弃用。最后找到了一个叫keepoutlookrunning的com?的加...
分类:
其他好文 时间:
2014-08-01 11:02:41
阅读次数:
150
procedure TForm1.FormShow(Sender: TObject);begin ShowWindow(Application.handle, SW_HIDE); SetWindowLong(Self.handle, GWL_EXSTYLE, GetWindowLong(Self.h...
分类:
其他好文 时间:
2014-07-29 20:41:42
阅读次数:
218