03-24-2007 05:45 AM - edited 03-24-2007 05:45 AM
Message Edited by zilotzilot on 03-24-2007 05:49 AM
03-25-2007 03:00 PM
03-26-2007 01:40 AM
Yes you are right
this is due to unlicensed behavior. I reinstalled aplication, and after that everything was ok.
One more question
With C++ projects, I cant see manu issues in ActiveX panel, for example I cant see temperature, tank etc.... Just 5 or 6 of them are visible
while in C# I can see all of them? Why is that, is CWUI.OCX made in that manner, so it hide (or doesnt implement) other controls. But in examples they are present on main dialog of some project, like project about temperature masurement there is temperature gauge, and I can copy that control into my new project, but that is not handsome (to open existing example project, and to copy-paste into my new).
Thanks
03-26-2007 01:15 PM
Hi
zilotzilot,
I think you might be getting a little confused between our C++ and NET user
interface controls. When you create a .NET Windows Forms Application
(C# or VB.NET), you are working under the .NET framework and thus you will be
using our .NET Libraries and user interface controls (i.e. WaveformGraph, ScatterGraph, Gauge, Knob, Thermometer,
etc; see attached .NET Toolbox.jpg).
When you create an MFC C++ application, you are using the Measurement Studio
ActiveX controls like CWGraph3D, CWSlide, CWKnob, etc (see attached C++
Toolbox.jpg).
So, those two sets of controls (.NET and ActiveX) are totally independent of
one another. When you are working under .NET, you will have access to the .NET
controls. When you are working in MFC C++, you will see the ActiveX controls
Hope this helps!
Best Regards,
03-27-2007 01:35 AM
Thank you very much, thats exactly what I see in VC++ and . NET projects
But tell me then, how did you implement Thermometer, Slide, Tank and other controls in VC++ example projects. They are present there. And I can copy that controls from example projects to my new VC++ project, but can not take them out from VC++ activeX pallete because they are shadowed, actually I see just what you attached.
Thank you veru much
03-27-2007 08:41 AM
Hi
zilotzilot,
It’s actually quite easy to manipulate those ActiveX controls. For example,
drag a CWSlide control on your form. Then in the Properties Window, click the Property Pages icon (see attached Properties
Windows.jpg snapshot). This will open up a dialog window with editable
properties such as Style, Numeric, Pointer, Ticks, Value Pairs, etc.
Notice for example in the Style properties,
you can use have a 3D Thermometer style.
You can go to the Property Pages for each ActiveX control (CWSlide, CWGraph,
CWButton, etc) and configure them however you like.
Hope this helps!
Best Regards,
03-27-2007 09:53 AM
Oh silly me. Now I see
Thank you for whole your efforts. Have a nice day
regards