LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to create free form UI window?

Is it possible to create a circular (or any other free from) window for user interface?

www.xinstruments.com - Custom Software for Industrial Automation

www.hdrconverter.com - Picture processing made easy

0 Kudos
Message 1 of 3
(2,854 Views)
This is not easy!

I think George Zou did this. Try his toolbox at;

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000A6B40000&ECategory=LabVIEW.LabVIEW+General

Sorry that is all I can say.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,854 Views)
It's actually not that difficult:

int SetWindowRgn(
HWND hWnd, // handle to window
HRGN hRgn, // handle to region
BOOL bRedraw // window redraw option
);

Get the window handler with FindWindow(Ex).

Get a region with CreateRoundRectRgn,CreateRectRgnIndirect,CreatePolygonRgn,
etc. or combine them with CombineRgn.

Regards,

Wiebe.

"Ben" wrote in message
news:5065000000050000008AB30100-1079395200000@exchange.ni.com...
> This is not easy!
>
> I think George Zou did this. Try his toolbox at;
>
>
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000A6B40000&ECategory=LabVIEW.LabVIEW+General
>
> Sorry that is all I can say.
>
> Ben
0 Kudos
Message 3 of 3
(2,854 Views)