Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

help with exe's

For general discussion related FlowStone

help with exe's

Postby brownts » Tue Nov 24, 2015 3:40 am

I have a couple of questions regarding the exporting of programs (not previous relationships)...

1. Is it possible to make the exported program always on top?
2. Is it possible to make the exported program windowless?

I've searched and haven't returned anything yet. I'm not very experienced with this program yet, but there are some really smart people here that have been doing this for a long time...hopefully someone else has had to do this in Flowstone!

Thanks!
Trent
brownts
 
Posts: 8
Joined: Fri Nov 13, 2015 4:58 am

Re: help with exe's

Postby tulamide » Tue Nov 24, 2015 11:14 am

My answer is theoretical, I've never done this.

1. It should be possible through the use of win32api via Ruby. You can get the handle of the active window and then use that handle to change its properties. That's how it works in other languages too, so I'm pretty confident.

2. Not directly. Again, win32api allows you to use the window handle to hide the window. But it will start with the window visible.

What purpose would a windowless Flowstone application have?
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: help with exe's

Postby brownts » Tue Nov 24, 2015 9:33 pm

tulamide wrote:My answer is theoretical, I've never done this.

1. It should be possible through the use of win32api via Ruby. You can get the handle of the active window and then use that handle to change its properties. That's how it works in other languages too, so I'm pretty confident.

2. Not directly. Again, win32api allows you to use the window handle to hide the window. But it will start with the window visible.

What purpose would a windowless Flowstone application have?


Oh boy, that doesn't sound easy!

Maybe I'm not saying it right. I would like it to be a borderless program- so no title bar, no window border. Sorry for the confusion.

I'm trying to use the Flowstone application basically as a gauge. I need to run an application behind it and still be able to click on the background application, but not send the Flowstone application behind the application I need to click on and view simultaneously. I can position the Flowstone application generally out of the way, so I'm not too worried, but the desire for the Flowstone exe to be windowless is purely for aesthetics. I've seen your previous threads that discuss GUI presentation and design at great detail and your advice is nothing short of brilliant! Wouldn't a borderless export option be ideal for a lot of those sound applications, though? It's kind of a shame to have built such a beautiful program, only to have it surrounded by windows ugliness :)

Thanks again for the help!
Trent
brownts
 
Posts: 8
Joined: Fri Nov 13, 2015 4:58 am

Re: help with exe's

Postby tulamide » Wed Nov 25, 2015 1:48 pm

You are right - it is not as easy as grabbing a primitive. You need to get deep into the system's settings, and that can only be achieved via win32api.

What you describe is possible with the api, but I'm not sure about the amount of work needed for it. I would give it a try, but currently I have too many other things to do (why does the list never get shorter?)

I agree though, that a wonderful GUI without window borders would look nice. But most of us do plugins, not executables, so it isn't a big deal for us.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany


Return to General

Who is online

Users browsing this forum: Majestic-12 [Bot] and 63 guests