12-20-2013 08:19 AM
Nobody seems to take me seriously, my comment here remained ignored...
In fact I have a complex UI (with several panels, including tab panels) which when loaded displays the title bar, even if the check mark is removed.
Is there another setting that overrides this? I could not find any hint in the docs.
CVI2013 f1
The code:
if ( InitCVIRTE ( 0, argv, 0 ) == 0 ) return ( -1 );
SetSleepPolicy ( VAL_SLEEP_SOME );
LoadPanel ( "notitlebar.uir", PANEL, &main_panel_handle );
if ( main_panel_handle < 0 ) return ( -1 );
DisplayPanel ( main_panel_handle );
RunUserInterface ();
Solved! Go to Solution.
12-20-2013 08:53 AM
Hello Wolfgang,
Unfortunately, I wasn't able to reproduce the behavior with LabWindows/CVI 2013 and with LabWindows/CVI 2013 Patch f1. Could you please attach the whole project?
Thanks in advance,
= Nelu F. || National Instrumetns.
12-20-2013 09:27 AM
Hello NeluF,
Thanks!. I've uploaded the project as titlebar_wolfgang.zip to the ftp / incoming directory. I couldn't prepare a stripped-down version because of the many controls all requiring their callback functions.
12-20-2013
10:25 AM
- last edited on
12-20-2013
11:08 AM
by
Hassan_Atassi
Hello Wolfgang,
I couldn't reproduce the issue with the project you've sent me. CVI didn't find the icon file, though, and I removed the entry from Target Settings. Could you please try to remove the entry from "Aplication icon file", to see whether that has anything to do with the strange behavior?
Other than that, nothing comes to mind, except, maybe, trying to restore the default registry settings. We will look into it over the coming period and get back to you.
Thanking you for your valuable feedback as always,
= Nelu F. || National Instruments.
12-20-2013 10:58 AM
OK, I can add the following:
if I remove the build folder and recompile everything, I get the desired behavior: no titlebar. OK
Then I set the checkmark, compile and build again: no titlebar : WRONG
It appears that I have to delete the build folder to have the change actually happen...
It also works if I choose to rebuild the project
It might be the same bug as reported here
01-07-2014 07:29 AM
Hello NeluF,
does bug id 433769 also refer to this? Have you been able to reproduce it after the initial build?
Thanks!
01-08-2014 03:00 AM
Hello Wolfgang,
I was able to reproduce the issue and it appears that the bug id 433769 also covers this issue.
Best regards and thank you for your input,
= Nelu F. || National Instruments.
01-08-2014 03:25 AM
Good to hear, thanks!
03-20-2014 02:59 AM