Source language: Translate to:

Transparent

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Transparent

Postby martinp » Mon Feb 20, 2017 2:39 am

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
martinp
 
Posts: 50
Joined: Fri May 20, 2005 6:18 am

Re: Transparent

Postby Gaev » Mon Feb 20, 2017 6:26 am

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"
User avatar
Gaev
 
Posts: 3716
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Transparent

Postby martinp » Mon Feb 20, 2017 6:42 am

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..
martinp
 
Posts: 50
Joined: Fri May 20, 2005 6:18 am

Re: Transparent

Postby Gaev » Mon Feb 20, 2017 7:39 am

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
User avatar
Gaev
 
Posts: 3716
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Transparent

Postby mishem » Mon Feb 20, 2017 9:06 am

You can try to do this with the use of plugins tmOSD or npOsds, or similar.
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

Re: Transparent

Postby martinp » Mon Feb 20, 2017 12:49 pm

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..
martinp
 
Posts: 50
Joined: Fri May 20, 2005 6:18 am

Re: Transparent

Postby mishem » Mon Feb 20, 2017 8:42 pm

I do not understand what you want to do.
Try plug ksWinStyle.
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

Re: Transparent

Postby Gaev » Tue Feb 21, 2017 5:58 am

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.
User avatar
Gaev
 
Posts: 3716
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Transparent

Postby mishem » Tue Feb 21, 2017 11:59 am

I can not find any reference to tmOSD

http://rgho.st/6cQnl9QMz
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

Re: Transparent

Postby HackinHoodLogicsTm » Tue Apr 25, 2017 11:16 am

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
User avatar
HackinHoodLogicsTm
 
Posts: 120
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 2 guests