怎么限制MDIForm1窗体大小不能拖拉?
建了一个MDIForm1窗体,我关闭了最大化按钮,但是还是可以拖拉改变窗体大小,我想固定窗体不能拖拉怎么弄?求教!给个实例谢谢!程序代码:
Private le As Long, tp As Long, wi As Long, he As Long Private Sub MDIForm_Load() le = Me.Left tp = Me.top wi = Me.Width he = Me.Height End Sub Private Sub MDIForm_Resize() Me.Left = le Me.top = tp Me.Width = wi Me.Height = he End Sub
已验证
[ 本帖最后由 邵帅 于 2012-9-25 18:37 编辑 ]