I am making an ActiveX control in a separate project, to compile it into an OCX. Its purpose is to display a graph and have two forms for exporting and printing.

It contains a UserControl for the displaying of the chart, and two forms.

When I include the compiled OCX in the project, I see a regular UserControl icon in the Components toolbox. Can I have my own icon there?

When I put the control on a form I can resize it, but not move it around, as the UserControl reacts to the mouse and keyboard events. How can I stop the UserControl (and the controls on it) to stop doing that? When do I have to add the Ambient.UserControl code?

Thanks!!!
Jerry