02-14-2018 07:41 AM
Hey everyone!
I find out that I'm not the only one who compliant about this:
https://forums.ni.com/t5/LabWindows-CVI/quot-Has-taskbar-button-quot-Windows-7/m-p/2438818#M62421
but unfortunately I did not find any good solution so far.
I am using CVI 2013 and work in windows 7.
In the application I made, more than one panel could be used.
The problem is:
1. In a case that the option "Has Taskbar Button" is checked, two identical windows of the main panel are displayed on the taskbar.
2 In a case that this option is unchecked and two different panels are displayed willingly (the main panel and another one) - when I minimize the two panels using the regular panel button, the main panel does not appear back on the screen no matter what I do. The icon of the application is still on the taskbar, but when I press on it, or try ALT+TAB nothing works.
I understood from the previous post that there is some kind of unlikely way to un-minimize the panel (problem 2), but I need a solution that would be more intuitive to anyone who will use this application in the future.
What can I do in order to solve these problems?
Thanks!
02-15-2018 01:34 AM - edited 02-15-2018 01:35 AM
The second problem you are facing can probably be solved by applying the code published by LuisG here.
02-15-2018 08:07 AM
Hey RobertoBozzolo,
I am not sure where to implement the code.. should it be under event "EVENT_GOT_FOCUS" in the panel functions?
02-15-2018 03:46 PM
It should be called once at the beginning of the program, before the call to RunUserInterface ()
09-19-2024 07:41 AM
I searched for this problem a long time but now I found the solution here inside the forum:
This works 🙂