Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

CW UI Controls

I use Measurement Stdudio for Creating ActiveX controls that i use later in LabVIEW. I don't understand why in MS there is only part of UI controls: Numeric, Knob, Graph, Button and Slide.
What is about Rings, Listbox, Textbox, Menu, Tab.
I could use VB built-in controls, but i want LV style controls.
0 Kudos
Message 1 of 4
(3,421 Views)
The other controls are not in Measurement Studio because Measurement Studio leverages and builds on existing technology in Visual Basic and Visual C++. If you really need the ActiveX controls to look like LabVIEW, you can either a.) owner-draw the controls in the ActiveX controls, or b.) develop those parts of the application as LabVIEW sub VIs.

Please post a follow up message if there is additional functionality from LabVIEW that is missing from the standard Windows controls.

- Elton
0 Kudos
Message 2 of 4
(3,421 Views)
Hello Elton, thanks for your answers.

Can you explain your answers more exactly?
What do you mean "Owner-draw" in answer a. ?
How can i embed LabView sub VIs in CVI project? (answer b.)
0 Kudos
Message 3 of 4
(3,421 Views)
Hi Nadav,

A.) Owner-draw basically means that you can handle certain window messages of a control and override how a control is drawn. For an introduction, see this:

INFO: Owner-Draw: Overview and Sources of Information (Q64327)

You can find tons of examples if you search for "owner draw" on Google.

B.) I'm not sure about using LabVIEW sub VIs in CVI. I was suggesting that sub VIs could be developed and used in other LabVIEW applications. The idea was that this would similar to the approach that you mentioned where you are developing ActiveX controls in Visual Basic and later using them in LabVIEW.

- Elton
0 Kudos
Message 4 of 4
(3,421 Views)