LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Statusbar Activex (MS commctl32.ocx) picture property

It's my first question here in the disscussion form. Maybe somebody can help me.

I try to use the statusbar activex to view a few parameters in my application. In principle it works fine but I am not able to set, or get pictures in the statusbar panels using labview code and property (invoke) nodes.
Preseting pictures of the acxtivex control using the righ mouse button and the properties of the control works fine.
I think the problem are the automation nodes, because I don't know how to set the picture reference in the automation nodes linked to the activex "stdole.picture". Maybe there is somewhere the key for solution.

Thanks

Gernot
Gernot Hanel
IONICON Analytik Gesellschaft m.b.H.
0 Kudos
Message 1 of 2
(2,871 Views)
Hi,

To get pictures in it, use a second ax control, MSComctlLib.IImageList. Use
ListImages property, and then the Add method.

Regards,

Wiebe.

"notti" wrote in message
news:50650000000800000028E20000-1079395200000@exchange.ni.com...
> It's my first question here in the disscussion form. Maybe somebody
> can help me.
>
> I try to use the statusbar activex to view a few parameters in my
> application. In principle it works fine but I am not able to set, or
> get pictures in the statusbar panels using labview code and property
> (invoke) nodes.
> Preseting pictures of the acxtivex control using the righ mouse button
> and the properties of the control works fine.
> I think the problem are the automation nodes, because I don't know how
> to set the p
icture reference in the automation nodes linked to the
> activex "stdole.picture". Maybe there is somewhere the key for
> solution.
>
> Thanks
>
> Gernot
0 Kudos
Message 2 of 2
(2,871 Views)