当前注册人数423000人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

A simple way to snap a form to screen borders

窗口自动吸附到其它窗口源代码(仿Winamp)

2007年12月29日
VB (VB 7.x, VB 8.0, VB 9.0, VB 6), VB
这个程序用一种最简单的方法,实现像Winamp一样,可以自动把自动的窗体(form)吸附到屏幕上其它边框里的功能。
相关知识
源代码原文下载:
A simple way to snap a form to screen borders Simple way to snap a form without borders to screen. I was searching for a way to snap a form to the borders of the screen, like what Winamp does, and found one here. But my form was without border (FormBorderStyle = None) and the code I found here didn’t work great for the forms without border. It also seemed like a little complicated for the beginners (almost like me!) so I tried to write it myself and wrote a more simple and easy to understand code. This is also a very simple way to move forms without border.

源码图片

从本站下载附件及源代码(1个附件,已经成功下载430次)

最值得关注的外文源代码

Calculator
SuperMail.NET, a bulk emailing app using System.Net.Mail, MS Access, and My.Settings
Basics of Tetris in VB.NET 2005
graybox-A pop-up window that doesn't suck
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论45次,此处显示最近20次评论! 查看所有评论

xiaoshengyuanma  2018年01月25日
很好
陌上花开  2015年05月18日
很好
hxkcyjs  2014年09月28日
很好,谢谢
wcxfairy  2014年06月24日
蛮好的!
8bits  2013年05月28日
看起来不错,研究下
eagoqin  2013年02月05日
没看懂。。。
yongziqd  2012年11月28日
对我没啥帮助,不过谢谢
yangcheng  2012年10月24日
赞一个
yongyuandeyihao  2012年10月07日
很好,赞个
uhitme  2012年01月12日
很好
陈禧  2012年01月04日
好好学习,天天向上。
liubiggun  2011年11月19日
真厉害
ento  2011年08月14日
用API做吗kankan
小蝎  2011年02月06日
先试试看
天涯沙漠  2011年02月03日
五十六朵花开五光十色六合春
chs1987  2010年04月06日
不错几行代码就搞定了
taohuang281  2009年11月13日
uy k
logining  2009年07月20日
简洁明了
ginger  2009年04月30日
ok!
skital  2009年03月13日
简洁明了,谢谢
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明