开发者

How to implement the Mac-style Windowshade feature for Windows

开发者 https://www.devze.com 2023-02-07 16:14 出处:网络
I always liked the WindowsShade utility on the Mac. Is there some sample code on how to do the sa开发者_StackOverflow中文版me thing in VB.Net or C#.Net for Windows.

I always liked the WindowsShade utility on the Mac. Is there some sample code on how to do the sa开发者_StackOverflow中文版me thing in VB.Net or C#.Net for Windows.

I have implemented it myself for a single app, but I would like to have it work for any window..


To do it for any window would require hooking into the message processing for the entire system which is tricky business: http://www.codeproject.com/KB/cs/netwin32hooks.aspx

But you don't need to write this yourself, unless you really want to. It's already been written, check it out: http://www.palma.com.au/winroll/

0

精彩评论

暂无评论...
验证码 换一张
取 消