|
-
Jul 30th, 2000, 04:37 AM
#1
Thread Starter
Frenzied Member
How do i stop my Active X control from being able to be resized at design time, when it is being used in a project (not when the control is being made).
-
Jul 30th, 2000, 09:25 AM
#2
Lively Member
y do u want to do that neway?
Mag-Net's Home
Visual Studio 6-Enterprise - SP4
ICQ: 35519773
Have Fun 
-
Jul 30th, 2000, 09:34 AM
#3
Thread Starter
Frenzied Member
because this control is an MP3 player control that hides its self at run time but at design time people can resize the control and i dont want them to
-
Jul 30th, 2000, 09:49 AM
#4
Frenzied Member
something like this
Code:
Private Sub UserControl_Resize()
If Not (UserControl.Height = SET_HEIGHT) And (UserControl.Width = SET_WWIDTH) Then _
Call UserControl.Size(SET_WIDTH, SET_HEIGHT)
End Sub
where SET_WIDTH and SET_HEIGHT are constants representing the width and height you want your control to be.
-
Jul 30th, 2000, 10:02 AM
#5
Thread Starter
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|