raoul Posted January 30, 2020 Report Share Posted January 30, 2020 (edited) Hello Forum ! I am looking for any external code to get blur effect into some of my FP. Is there any chance to blur a text or any control or the background of the FP window. Do you know any labview-compliant dotnet components that can realise this and wich can be easily integrated into a vi. I ’ve searched on the web but my knowlegde about winforms and WFP is null. Any dotnet solution that could blur the FP background would be wonderfull. It seems user32.dll would be able to do that . But I can’t find the way for this. Any example on your side ? Already ok is this : I ’m not looking for a way to change programmaticaly the FP window background transparency . The user32.dll is ok for this. I don’t want to blur an image with a gaussian filtre. (I can do that) My english language is not good, sorry for the mistakes and for the style.☹️ Edited January 30, 2020 by raoul Quote Link to comment
ShaunR Posted January 30, 2020 Report Share Posted January 30, 2020 (edited) 1 hour ago, raoul said: It seems user32.dll would be able to do that . But I can’t find the way for this. If your looking for the Aero style blur, then that is achieved using "SetWindowCompositionAttribute". I haven't used it, I'm just aware of it, but you'll probably find examples on Github. Edited January 30, 2020 by ShaunR Quote Link to comment
raoul Posted January 30, 2020 Author Report Share Posted January 30, 2020 Absolutely. That’s the user32.dll function I’m referring to. Quote Link to comment
ShaunR Posted January 30, 2020 Report Share Posted January 30, 2020 (edited) Well. This will get you some of the way there (quick and dirty example). SetWindowCompositionAttribute.vi You'll still need to blend the accent colours if you want it to behave and I've no idea what will happen if you try to set the VI transparency.. Edited January 30, 2020 by ShaunR Quote Link to comment
raoul Posted January 30, 2020 Author Report Share Posted January 30, 2020 Oh Thanks a lot ShaunR ! I will study your vi this night. Very interesting. what advice would you give to someone who wants to learn how to make this kind of vi? My level is too bad in C to translate C into labview. (that’s why I like dotnet controls 😉, work is already done). Is there a book or a website you could recommend for C beginers ? see you later ! 🙂 Quote Link to comment
ShaunR Posted January 30, 2020 Report Share Posted January 30, 2020 6 hours ago, raoul said: what advice would you give to someone who wants to learn how to make this kind of vi? Get someone else to do it. It requires knowledge of the memory organisation of LabVIEW and C (and how different structures are allocated and stored) and most of the time a small error will completely crash LabVIEW. 7 hours ago, raoul said: Is there a book or a website you could recommend for C beginers ? I would suggest asking on a C forum. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.