LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Icon in LabVIEW Title bar of a '.vi'

Hi Shrekt,

 

in the executable you should hide the toolbar! Users should not get confused by LabView-specific items near the menu line...

 

Instead make your own controls and/or menus...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 23
(6,021 Views)

shrekt wrote:

 

Actually i have to change the labview icon on the final software that will be provided to the customer. so can you provide solution for the above.


I think we have to be clear, as different people use the terms icon to mean different things. Which icon are you referring to? The Application Builder allows you to change the executable's icon. See here: Customizing an Icon for an Executable Created in LabVIEW.

0 Kudos
Message 12 of 23
(5,997 Views)

I would like to have every pop up VI in the LabView progam with different Title icon - programmatically after start VI. How to do it?

I seen it in few years ago in the 7,0 version program. But now I didnt found it. Help me with the issue.

 

I know only method during exe making, but it is not same, because it take one icon for whole programm.

 

I need it for the 7.1Labview still.

 

Pleas send me solution on the vpetrov2@visteon.com

 

Thank you Vladimir

0 Kudos
Message 13 of 23
(5,601 Views)

I can't save back to 7.1, but here's how this can be done. This calls the SendMessage Windows API function to change the icon of the window. Someone posted this somewhere once and I removed a lot of the original code to make it easier to see which calls are being made. The functions are all in user32.dll and you should note that there are places where the values are in hex:

 

undefined

 

 

I'm also attaching the original saved back to 8.0. It's broken and missing some OpenG dependencies, but if you can find someone to backsave it for you, you should probably be able to use it.


___________________
Try to take over the world!
Message 14 of 23
(5,583 Views)

Thank you very much for solution.

I will try.

7,1 I mentioned regarding back compatibility of the functionality of the solution.

 

See you Vladimir

0 Kudos
Message 15 of 23
(5,575 Views)

I've been looking everywhere for this! Thanks!

0 Kudos
Message 16 of 23
(5,195 Views)

In Build Specifications/icon section, you can create 2 icons. The one 32x32 will be used as exe icon, the one 16x16 will be used as title icon and file icon.

Message 17 of 23
(4,982 Views)

please send me the working vi.

please save it for LabVIEW 2015

 

0 Kudos
Message 18 of 23
(3,299 Views)

please send it to my mail id "rkbkgk@gmail.com"

0 Kudos
Message 19 of 23
(3,296 Views)

Hi rkbkgk,

 

the image in this post is actually a snippet!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 20 of 23
(3,294 Views)