LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How access FP.OSWindow property??

Solved!
Go to solution

Thanks a lot guys for your help.

The only thing I was unable to do is to hide the title bar after the window was already created. After hours of inernet searching, I conclude that it is simply impossible - is that correct? If not (I hope!) - PLEASE tell me the call function :frustrated:

-fomine
_________________________________
You can do greater things with LabVIEW!
0 Kudos
Message 11 of 14
(1,372 Views)
Solution
Accepted by topic author fomine

Oki, never mind 🙂

Ho-ho, after some more fiddling I got it!

I had to use GetWindowLong to get the style, subtract xC0 0000 andSetWindowLong

Live and learn!

-fomine
_________________________________
You can do greater things with LabVIEW!
0 Kudos
Message 12 of 14
(1,368 Views)

Some manipulations to windows are not possible without recreating the entire window. This is of course only doable by the actual application not by some outside application.

And you need to be careful manipulating application windows. Some applications depend on particular states for their operation and get in a turmoil if you mess with that. LabVIEW is for instance heavily intertwined with the floating and other states of windows, and will get really upset if you change some of those properties through Windows API calls instead of through LabVIEW property nodes.

Rolf Kalbermatter
My Blog
0 Kudos
Message 13 of 14
(1,360 Views)

Thanks Rolf,

 

Yes, of course, for the windows I create from LV I use FP proeprties. I had all this trouble only because I had to act on a window which is an exe file for which I don't have source code.

-fomine
_________________________________
You can do greater things with LabVIEW!
0 Kudos
Message 14 of 14
(1,350 Views)