只需一步,快速开始
使用道具 举报
以下是引用海狸先生在2005-8-8 17:02:00的发言: 以下代码将建立一下椭圆型窗体 Option Compare Database Option Explicit Private Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long Private Declare Function SetWindowRgn Lib "user32" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long Private Sub Form_Load() Dim X, Y As Long X = CreateEllipticRgn(0, 0, 100, 200) Y = SetWindowRgn(Me.hwnd, X, True) End Sub
本版积分规则 发表回复 回帖后跳转到最后一页
|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )
GMT+8, 2025-2-23 06:22 , Processed in 0.186490 second(s), 33 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.