This example demonstrates the use of .NET constructors to access Windows.Forms functions in LabVIEW.
This example uses the .NET constructor to access the windows .NET functions to display a baloon pop-up
on the bottom right of the task bar.
This is useful in auto-update applications in LabVIEW, or when the user should not be disturbed by the application
installation/upgrade status window, either on the desktop, or on the task bar.
To explain the use of .NET constructors to acess number of Windows functions in LabVIEW.
Steps to execute code:
1) Run the VI
2) Observe how the VI docks itself on the bottom right of the task bar with NI Icon and displays the
message in the baloon
3) Close the message and keep the cursor on the icon, it will display "Update Utility"
4) Right click on the VI and select "Show Application Update Progress"
5) Observe how the baloon message changes after the slider is full
6) A Transperent, Non-Layered window will open, observe that you can click through the
image, since the FP layer for this VI has been removed.
Main VI Front Panel:
Main Block Diagram:
VI in RUN state:
Updates for Round 2:
An example of how to use Windows API to remove the Front Panel Layer is added. This example VI will take the Front Panel color of the VI and completely remove this color layer from the VI, making it just a blank window with no layer. This makes the Icons/Controls on the Front Panel appear like free hanging controls. In the next round, I would show you some ways of making a cool Installer GUI, using transperent icons and effects like decals, shadows, glows etc...
This VI consists of SubVIs, and hence, VI Snippet is not added. Please check the attached VI below.
VI attached below
-FraggerFox! Certified LabVIEW Architect, Certified TestStand Developer "What you think today is what you live tomorrow"