12-15-2006 06:15 PM
06-18-2007 06:16 AM
I know this
thread is old but since I've got exactly the same problem I decided to resurrect
it.
Any updates on this matter?
As far as I can tell, 8.1.1 has the same problem. I want my top level panel/window to minimize properly to the task bar, but I also want the app to be listed in Task Manager, which it isn’t if I remove the task bar button for the hidden parent window with ATTR_TASKBAR_BUTTON_VISIBLE).
My current solution is the same one CVI is using, which is to minimize the hidden main window with a SendMessage() when the panel is minimized. I think this is something of a hack and not something we should have to accept in production apps.
06-19-2007 10:45 AM
06-20-2007 02:52 AM
08-09-2007 11:19 AM
08-10-2007 10:40 AM
08-15-2007 12:15 PM - edited 08-15-2007 12:15 PM
Message Edited by LuisG on 08-15-2007 12:16 PM
08-16-2007 02:53 AM
12-06-2007 03:05 PM
I wanted to give everyone an update on this issue. CVI 8.5 is now out, and with it, the behavior of panel minimization has changed. The change is that panels will now minimize to the taskbar instead of to the desktop, without having to change any of the default attributes. And because ATTR_TASKBAR_BUTTON_VISIBLE is still enabled, the application will show up in Task Manager.
If you happen to prefer the old behavior, you can switch to it by enabling the ATTR_MINIMIZE_PANELS_TO_DESKTOP system attribute. And there's also a new panel attribute, ATTR_MINIMIZE_OTHER_PANELS, that is relevant if you have more than one window in your application.
This was one (rare) case where we changed the default behavior of existing applications, because we came to view the old behavior as buggy.
Thanks again for all the feedback!
Luis
12-06-2007 03:19 PM
I truly value the backward compatibility of CVI versions, but in this case I like the solution. This was something that just did not fit the "normal" windows world behavior. Thanks for the update.