05-28-2010 10:32 AM
Solved! Go to Solution.
05-28-2010 10:58 AM
You can't do it so easy. Transparency in PNG is not supported by IMAQ Vision.
Otherwise you can overlay your bitmap with IMAQ Overlay Bitmap function (with replacement key pixels to transparent).
Read the following thread: How can I import a .png image with transparent background into Vision Assistant?
May be given snippet will be helpful for you too.
Andrey.
05-28-2010 11:26 AM
Thank you for your reply. I looked that thread, however, if using this method I'll have to make the front panel transparent again.
I meant to ask not how to make this external window (IMAQ WindDraw) transparent, and is it possible to use IMAQ WindBackground function to do it?
05-28-2010 12:15 PM
No, you can't do it with IMAQ WindBackground. Transparency is not allowed for this function. ITs a just backgound which displayed if no image loaded, or surround border (for example, for grayscale images its very good to set background with neutral grey).
If you need full transparency of IMAQ Window, then you will need to involve WinAPI, something like that:
Andrey.
05-28-2010 02:35 PM
This is exactly what I want.
Thank you!