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

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个附件,已经成功下载162次)

最值得关注的外文源代码

Gridview Control with print and preview features
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字内
请如实评论
本源代码共评论17次,此处显示最近14次评论! 查看所有评论

taohuang281  2009年11月13日
uy k
logining  2009年07月20日
简洁明了
ginger  2009年04月30日
ok!
skital  2009年03月13日
简洁明了,谢谢
hunk3000  2009年01月23日
谢谢分享~
xuzhenhua  2008年12月23日
好啊
dnlrh  2008年12月11日
看看
踏雪寻梅  2008年11月13日
比较神奇啊。呵呵
鞠鹏飞  2008年11月06日
看看好不好!
不织布觉  2008年09月12日
不错不错!
波波  2008年09月11日
hata  2008年08月04日
不错不错
xxarexs  2008年07月11日
good
春蚕  2008年06月05日
这个网站真好!
字数在300字内
请如实评论
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved   免责声明
京ICP备08011023号