Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Using CW UserInterface Control in non MFC application.

Is it possible to use CW++ controls in non MFC application ?

I need to display a graph in a dialog based application that does not
use MFC (written with all windows procedures).

Dimitri
0 Kudos
Message 1 of 2
(3,430 Views)
Dmitri,

This is not directly supported in CW++. CNiGraph derives from CNiControl,
which derives from MFC's CWnd.

The controls are ActiveX controls, however, so it should be possible to use
it in a non-MFC application just as you would any other application. The
downside to this is that you will have to use the automation data types such
as SAFEARRAY and VARIANT instead of the C++ data types such as CNiVector.

David Rohacek
National Instruments

"Dimitri Ghinis" wrote in message
news:e6g5nsg5gs5iks2r42bv4vukksf04kbof6@4ax.com...
> Is it possible to use CW++ controls in non MFC application ?
>
> I need to display a graph in a dialog based application that does not
> use MFC (written with all windows procedures).
>
> Dimitri
0 Kudos
Message 2 of 2
(3,430 Views)