LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

minimizing windows

Dear LabView Cracks

maybe the question is slightly OT, because it might be more Win related.
I'm currently working with CVI 5.0 under win98SE.

I've bulid up a lab control system to control/read a couple of
instruments, real and virtual ones.
The main program allows to initialize these instruments and to use them.
The imstruments are all in seperate ojects, are slaves and do load and
display uirs on their own. Run/QuitUserInterface is of course in the
main program only.
Question:
When I minimize these instruments, most of them do show up in the task
bar (at the bottom), but a few do show a small window in the main part
of the desktop. I cannot find the difference between the two cases.

Thanks for all hints
Urs Bogli
0 Kudos
Message 1 of 3
(3,016 Views)
There is a attribute of a panel called Has Taskbar Button. I'm pretty sure it was there in CVI 5.0. Anyway, if this attribute is true, that panel should have a taskbar icon. You can set this attribute in the panel setup in the UI Editor, or you can set it programmatically with:

SetPanelAttribute (panel, ATTR_HAS_TASKBAR_BUTTON, 1);

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,016 Views)
Chris Matthews schrieb:

> There is a attribute of a panel called Has Taskbar Button. I'm pretty
> sure it was there in CVI 5.0. Anyway, if this attribute is true, that
> panel should have a taskbar icon. You can set this attribute in the
> panel setup in the UI Editor, or you can set it programmatically with:
>
> SetPanelAttribute (panel, ATTR_HAS_TASKBAR_BUTTON, 1);
>
> Best Regards,
>
> Chris Matthews
> National Instruments

thanks, that's it!
0 Kudos
Message 3 of 3
(3,016 Views)