Xmovewindow translation

Xlobby plugin development

Postby QTips on Sun Nov 14, 2004 9:13 pm

babdubo:

Is it possibel to have 2 instances of xmovewindow on the same screen ?
I have a PVR 250 card and a skystar1 DVB card and would made a page with 2 channels at the same time :)
QTips
 
Posts: 158
Joined: Tue Dec 16, 2003 6:53 pm
Location: Norway

Postby badubo on Sun Nov 14, 2004 9:16 pm

Yes, as soon as it is not the same classwindow

It is quite the same as the control bar trick
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby QTips on Sun Nov 14, 2004 10:05 pm

awesome :D
QTips
 
Posts: 158
Joined: Tue Dec 16, 2003 6:53 pm
Location: Norway

Badubo -

Postby kolemieux on Mon Nov 15, 2004 8:44 pm

Badubo - I am integrating BeyondTV and have done pretty well thus far, and not sure this can be done - as I can't send the commands directly to BTV (or can't find them) but can XMovewindo (release) control for commands to hit that window then lock it back up. It would be like what u would want to do to ZoomPlayer if we could not target commands directly in.

I'd prefer the other route but not sure if I will find the commands - I have the window targets and all but still digging here. I'd prefer if Xmoviewindo could force the BTV window to be the focus window then lock it again? Not sure either way...

Thanks
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Postby badubo on Mon Nov 15, 2004 9:01 pm

The main purpose of xmove is to be sure that xlobby always keeps the focus, so I'm sorry but, due to the way it is coded, I think it will be too difficult (actually too much work) to change it the way you want
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby QTips on Mon Nov 15, 2004 10:18 pm

The following are additonal command line options currently available for use with Beyond TV:

Gui Options
/startscreen [top | home / tv | livetv / library / guide | epg / jobs / recordings]
/defaultscreen [top | home / tv | livetv / library / guide | epg / jobs / recordings]
/closegui
/mode [FS / Windowed / TRUEFS / FAKEFS / None]

Note: "Defaultscreen" is identical to "startscreen" in function, except that it causes the GUI to default to that screen every time the GUI is launched (unless command-line parameters override the default).

Windowed Mode Specific Options
/width (value)
/height (value)
/xpos (value)
/ypos (value)
/border [on/off]

Finally, there is a command-line option that will make Beyond TV exit without warnings. This is useful when automating processes such as XMLTV listings imports.

/quit


Helpful Tip, configuring shortcuts to WTLPVSAPP.EXE to use command-line calls: In the "Target" field of the Properties for the shortcut to the WTLPVSAPP.EXE executable, you will find:

"C:\Program Files\SnapStream Media\Beyond TV 3\WTLPVSApp.exe"

Add any command-line calls AFTER the close-quote. Example:

"C:\Program Files\SnapStream Media\Beyond TV 3\WTLPVSApp.exe" /mode windowed /width 640 /height 480

This example will start BeyondTV in Windowed mode, sized to 640x480.
QTips
 
Posts: 158
Joined: Tue Dec 16, 2003 6:53 pm
Location: Norway

Qtips?

Postby kolemieux on Tue Nov 16, 2004 2:48 am

Qtips - do you have any insight on params for sending BTV commands "into" the XMovewindow zone. I have everything up and running with no issues at all, identical to ZoomPlayer - but want to send some commands into the window and not sure how "or if" I can target them like we do with ZoomPlayer.

I've tried a few options with no luck - just curious?

Thanks
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Postby badubo on Tue Nov 16, 2004 3:24 am

you can use spy++ or the "girder target dialog" for trying to fing the messages you need.
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Badubo?

Postby kolemieux on Tue Nov 16, 2004 3:41 am

I used Girder to find the target location - how would I go about knowing what the actual commands and Param like 32817 is in ZoomPlayer??

The commands I am looking for are the basic up,down,enter, ....

Nothing fancy at alll.... I tried to dig some of this from Girder but was not sure how to do it. I feel I am quite close.

Thanks
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Can you tell me how to use this?

Postby musicthebee on Thu Dec 23, 2004 11:29 pm

I have embedded a GPS program with xmovewindow and presently I am using hide window event under os to hide the window. Once the hide window is called on exiting the screen, I cannot perfrom any actions on the program (for eample entering a destination, selecting the menu etc do not work) when I get back to the screen which is embedding the GPS. Looks like the click events are not going to the gps program. Can somebody tell me how to use the showhide functionality of the plug-in? I am hoping that this may help fixing the problem


Thanks
badubo wrote:
I didn't find a key to turn visualation on/off so I just have it on all the time for now.


you can use the showhide function of the plugin, with the className ID you used for controling the position.
musicthebee
 
Posts: 30
Joined: Thu Apr 22, 2004 12:37 am

Postby badubo on Fri Dec 24, 2004 12:45 am

xmovewindow isn't intended to be used together with the internal os/hide window event .

But when you enter/leave a screen, the plugin will show/hide the window by itself.

Try to disable the hide event and see if you can access the program.
note also that this plugin is created for viewing purposes only (like for ZP, MPC, ...) and it is possible that programs using user interaction from the GUI will not work with it
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

hmmm

Postby musicthebee on Sat Dec 25, 2004 3:59 pm

Thanks Babudo for the reply. Here is the latest on the issue. I dont see that the plug-in is doing the show/hide on the embedded window. I am trying it on G-Force visualization and on the iguidance GPS software. Both of them remain on the front if I exit the screen contianing the xmovewindow. And hence I am doing os/hidewindow on the GPS and stop visialization on the G-force when I exit the screen. Is this expected behaviour?

About the problem I am having the GPS software, it still continues even if I remove os/hidewindow event. I am going to poke around little more to see what the issue is...

Btw, How does one call these events explicitly with xmovewindow?

Register
Toggle
Showhide
Lock
Unlock

Thanks
musicthebee
 
Posts: 30
Joined: Thu Apr 22, 2004 12:37 am

Postby mattdisaster on Sat Dec 25, 2004 7:10 pm

musicthebee-
Keep us posted on what you find, this might be what I need for my carpc and its gps software, if i can get it to open "within" xlobby (in a smaller window) i'de be the happiest guy around. Are you tryign to do the same thing?

-matt
mattdisaster
 
Posts: 257
Joined: Tue May 27, 2003 6:40 am
Location: Branford, CT

Postby badubo on Sat Dec 25, 2004 7:30 pm

Do you use the version from this topic?
http://users.skynet.be/badubo/temp2/XMoveWindow.dll

Is the application correctly embedded in the text zone when you enter the screen?
Normally, the app should be put in background when changing the screen (and if no commands are in this screen)

Note that some applications cannot be driven by the plugin because they have the feature to always be in front (and they are resetting this feature all the time)

For accessing the plugins command , you must use the plugins events int the event manager (and select xmovewindow)
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Badubo ...

Postby kolemieux on Sat Dec 25, 2004 8:16 pm

Badubo ?

I am living and dying with Xmovewindow.dll - I have screen and button events that do Hide of my Tmainform - works great. However, on my HTPC I am forced to toggle thru a few apps and when I swing over I notice the ZP window is there - but Hidden from Xlobby - all in all I can work with this.

Is there another event I should add to completely get it out of my way until I need it again? Just curious more than anything?

Thanks
Chris
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

PreviousNext