Transparent

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Locked
martinp
Posts: 55
Joined: Fri May 20, 2005 6:18 am

Transparent

Post by martinp »

I'm trying to place a text box over a full screen video background.

Does anyone know if it is possible to do this as i'm stuggling to try and find a way round it?

The text has to be seen over the video

Any ideas would be greatly appreciated
User avatar
Gaev
Posts: 3782
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada
Contact:

Re: Transparent

Post by Gaev »

martinp:

Have you tried using ObjectToFront ? ... from the Help file ...
ObjectToFront

Purpose:
Move an object to the foreground in front of all other objects on the page.

Syntax:
ObjectToFront "object name"

Example:
ObjectToFront "Picture1"
martinp
Posts: 55
Joined: Fri May 20, 2005 6:18 am

Re: Transparent

Post by martinp »

hi, yes..
Trouble is - the background video is playing on the screen (from different software) and I use the moveable window option to move the window from the main screen to the extended desktop screen..
User avatar
Gaev
Posts: 3782
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada
Contact:

Re: Transparent

Post by Gaev »

martinp:
I use the moveable window option to move the window from the main screen to the extended desktop screen..
I don't understand what you mean by "main screen" and "extended desktop screen" ... please provide details of how you accomplish this.
the background video is playing on the screen (from different software)
When this video is playing, can you get any other (application) window (e.g. notepad.exe) to show on top of it ? ... if you can, then you might consider ...

- moving the TextBox to the top-left corner of your page
- reducing the size of your NeoBook Application Window to that of your TextBox
- moving your Application window to the appropriate location within your screen
mishem
Posts: 581
Joined: Mon Oct 08, 2012 1:51 pm

Re: Transparent

Post by mishem »

You can try to do this with the use of plugins tmOSD or npOsds, or similar.
martinp
Posts: 55
Joined: Fri May 20, 2005 6:18 am

Re: Transparent

Post by martinp »

The live video feed is shown on screen via software called Virtual DJ.
Wanted to place some text over the live video screen using a moveable window....but moveable windows cannot be transparent???

Not sure this is possible..
mishem
Posts: 581
Joined: Mon Oct 08, 2012 1:51 pm

Re: Transparent

Post by mishem »

I do not understand what you want to do.
Try plug ksWinStyle.
User avatar
Gaev
Posts: 3782
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada
Contact:

Re: Transparent

Post by Gaev »

Wanted to place some text over the live video screen using a moveable window....but moveable windows cannot be transparent???
I don't believe it has anything to do with "moveable windows" ... but the fact that you are trying to place a transparent window over a part of the screen dedicated to video (Windows manages the two parts separately).

@martinp:

Try the plugin (npOsds) suggested by mishem (I can not find any reference to tmOSD) ... the "on screen display" facility of windows draws the specified text in a transparent manner.
mishem
Posts: 581
Joined: Mon Oct 08, 2012 1:51 pm

Re: Transparent

Post by mishem »

I can not find any reference to tmOSD
http://rgho.st/6cQnl9QMz
User avatar
HackinHoodLogicsTm
Posts: 131
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana
Contact:

Re: Transparent

Post by HackinHoodLogicsTm »

To set a transparent window

Use HWPSendKeys plugin

use command

hpwSetTransparent "[Container.Winhandle]" "50"

where container is the name of the container/form designed.
Where 50 is the transparancy rate


Note call this command before displaying the window
I am proud to be a Neobooker!!!
www.neosoftware.com
Special Thanks To
Mr. David Riley
Locked