!在vb 中除了用作记录集!字段中间,还有什么其他用法?(附代码示例) 应该是做成图形式的窗口不过DoTransparency过程没定义,能否贴出来,我觉得挺有用的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 好的。不过不是我写的。Public Sub DoTransparency(TheForm As Form)' TheForm: The form you want to be rounded rectangle shape Dim TempRegions(6) As Long Dim FormWidthInPixels As Long Dim FormHeightInPixels As Long Dim a ' Convert the form's height and width from twips to pixels FormWidthInPixels = TheForm.Width / Screen.TwipsPerPixelX FormHeightInPixels = TheForm.Height / Screen.TwipsPerPixelY ' Make a rounded rectangle shaped region with the dimentions of the form a = CreateRoundRectRgn(0, 0, FormWidthInPixels, FormHeightInPixels, 24, 24) ' Set this region as the shape for "TheForm" a = SetWindowRgn(TheForm.hWnd, a, True)End Sub 导出 html文件的问题... (100分)关于2000或XP下如何关闭Ctrl+Alt+Del后出现的窗体 疑问:控件是否需要注册? 有关RESIZE32.OCX控件 急问:如何将两个字段的值连接?! 有谁研究MHFlexGrid 层次问题啊,在线呼救!!!!!!!送分来了!! 怎么将数据库整合的vb程序中,而不需要安装数据库服务程序 mciSendString的参数? rs.addnew的问题 请问谁有收银系统的原程? ★有个问题请教诸位--VB的EXE文件如何返回一个值? 简单问题,捡分了。
Public Sub DoTransparency(TheForm As Form)
' TheForm: The form you want to be rounded rectangle shape
Dim TempRegions(6) As Long
Dim FormWidthInPixels As Long
Dim FormHeightInPixels As Long
Dim a
' Convert the form's height and width from twips to pixels
FormWidthInPixels = TheForm.Width / Screen.TwipsPerPixelX
FormHeightInPixels = TheForm.Height / Screen.TwipsPerPixelY
' Make a rounded rectangle shaped region with the dimentions of the form
a = CreateRoundRectRgn(0, 0, FormWidthInPixels, FormHeightInPixels, 24, 24)
' Set this region as the shape for "TheForm"
a = SetWindowRgn(TheForm.hWnd, a, True)
End Sub