11-27-2020 09:45 AM - edited 11-27-2020 09:52 AM
Hey Folks!
KoalaBeer here again with another quick question 🙂
So, I would like to create an interface where the user can resize de front panel but I wont
keep the LabVIEW Menus neither the tittle bar.
Anyway, when I disable the LabVIEW menus and the tittle bar, I still have this ugly looking bar on the top, it is ugly because my front panel is black and the bar is white. Look at this:
Can anyone know how to get rid of that bar and still allowing the user to resize the front panel?
Thank you for your answers.
Luis.
Solved! Go to Solution.
11-27-2020 09:56 AM
So apparentlly JKI have made an statement about this in the following post :
Creating a Flat UI Titlebar in LabVIEW (draggable window without a native titlebar) (jki.net)
And they tell this to us :
Note: there’s an issue in Windows 10 where if a Window is resizable and doesn’t show its titlebar, then it will have a small bar at the top, which is the same color as the original/naive titlebar -- if you make your window NOT resizable, this bar will go away. We haven’t found a solution for this, but it seems there is possibly some way to fix this with the right Windows API calls. |
Does anyone know "the right windows API calls" :D.
Luis.
12-07-2020 02:21 AM
Help 🙂
12-07-2020 04:00 AM
@KoalaBeer wrote:
Does anyone know "the right windows API calls" :D.
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowrgn
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createrectrgn
12-24-2020 05:17 AM
Thank you, it really helped me! 🙂
02-10-2021 05:33 PM