Frequently Asked Questions
What is an ActiveX control
and how does it work?
An ActiveX control can be added to a form in the same way
as standard controls such as check boxes. It has similar properties - name,
events etc, plus a number of additional properties and methods that you can
access from your program. For example, in Visual Basic you add Mozaik as a
component in your project, then drop a Mozaik control onto the form, giving it
a name such as Mzk. You can then make calls such as "Mzk.gRect
0,0,0,10,20" to create a rectangle at 0,0,0 measuring 10 x 20. A call such
as "Mzk.gViewFull 1" draws the rectangle in the Mzk control.
What development languages
can Mozaik be used with?
Any development language which supports an ActiveX
control. It must support argument passing using typed variables (integer,
double etc) and, especially, variants. Examples are Microsoft Visual Basic 5,
MS Access 97, MS Visual C++, Borland Delphi and Borland C++.
What examples are available?
Mozaik comes with a full CAD application written in
Visual Basic. Other simple examples are available in MS VB, MS ACCESS and
Visual C++. Borland examples will be available soon. Please visit our
examples page.
What language is Mozaik
written in?
Mozaik is written in Microsoft Visual C++. You do not
need Visual C++ to use Mozaik.
How do I get a copy of
Mozaik?
ATS Mozaik Lite is available to download, free of charge, from this site.
To get a copy of Mozaik Standard or Pro you must first download ATS Mozaik Lite and then complete and send the order form with your payment details. We will e-mail a personal enable code to you which will convert Mozaik Lite to a standard version.
After receiving the code and just once in your application, before any other calls to Mozaik, you should make the call:
sVersionEnable("your code in here").
Your code is personal to you and after this call Mozaik Lite will work as a Standard or Pro version.
As
I spin the view, using the mouse, some parts of the model are disappearing.
Why is this?
On some computers it may take some time to repaint large models. In
order to make the dynamic rotation, pan and zoom appear more smoothly on the
screen, Mozaik allows you to interrupt the repaint in these operations. This
means that if you move the mouse before the repaint is completed then only part
of the model may have been drawn. This gives the appearance that some of the
model is missing. As soon as you release the mouse the whole model should
reappear.
You can use the function gInterruptMouse to set the time interval which Mozaik will use before looking for a mouse movement. You can set this number to a value which gives the best result for your application. The value of 1 or 2 seconds is probably the most useful.