05-31-2011 04:58 PM
Is there a way of creating a pop-up window similar to the Image attached? Basically, the window or VI should show everything within the blue box, but trnsparent especially behind the "X" button on top where it connects to the box. So far, I can only show a VI with "square" corners, i.e. display the image as a "splash screen" showing only the content in the FP with no borders or menues etc. however, this splash screen content gives me "square" edges. I can't make them rou
nd.
05-31-2011 05:02 PM
Oups, forgot the Image.
06-01-2011 01:14 AM
If you don't mind a Windows-only solution, you can call functions from the Windows API to make one color in the window completely transparent (which will allow you to click behind the window, which is what you want), so all you need to do is create the rounded-rectangle shape to serve as your background and then color everything outside it using the color which will be made transparent. If you want the X to be like in your example, you will have to create the button yourself and then take the appropriate action in the code.
See here for a simplistic example. The "crkey" input in the last DLL call is the transparent color.
06-01-2011 04:49 AM - edited 06-01-2011 04:51 AM
The link was a bit unhappy - I'm assuming it should link here.
EDIT: Weird, it seems to sometimes work and sometimes not.