Hello, I was wonering how to make my ActiveX control fixed size.

I've seen how this can be done in Visual Basic Something like this.
Usercontrol.Height = UserControl.Ambient.Height
Usercontrol.Width = UserControl.Ambient.Width

My Accomplice this with Visual c++?