Xmovewindow translation

Xlobby plugin development

SHOWHIDE

Postby kolemieux on Fri Nov 12, 2004 2:00 am

I think I understand how to use SHOW and HIDE but am confused with SHOWHIDE

I also assume for this purpose the only PARAM is Tmainform, and that screen name is not required.

I was kinda thinking that the SHOWHIDE would act like a "toggle" switch, press once SHOWS, press again HIDE.... not sure I am seeing that.

Just chekin...
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Postby badubo on Fri Nov 12, 2004 3:33 pm

I would like the Show IMAGES of my other elements Speaker, Movies, and the like to show but when I scroll over (without pressing) Videos the video portal would show. Essentially it would treat this text box just like another image classified as SHOW/HIDE.

Just an idea : create 2 events : 1 for show, one for hide and affect "show" to the enter event of your button/zone and "hide" to the exit event

I was kinda thinking that the SHOWHIDE would act like a "toggle" switch, press once SHOWS, press again HIDE.... not sure I am seeing that.

It should work this way (but works only inside the screen where is defined the window)

QTips
Looks like when xmovewindow force a window to foreground it brings the mousepointer aswell

Don't think it is the plugin, I think that it is a specific feature of ZP (it manages the mouse pointer) and it probably considers the change in its window position/state as a user change... I will see if I can put an option to avoid this (but it seems quite difficult)
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Badubo

Postby kolemieux on Fri Nov 12, 2004 4:21 pm

Help :)

I guess what I would be trying to mimic is the way that SHOW/HIDE works with roll-over on a page..... This would not be a button push just when a button is rolled over or highlighted, not selected.

So u mentioned:
"Just an idea : create 2 events : 1 for show, one for hide and affect "show" to the enter event of your button/zone and "hide" to the exit event "

Can u help me just a tiny bit more with the step u were thinking here Badubo and is this likely to accomplish what I was lookiing to do.

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

Postby QTips on Fri Nov 12, 2004 6:13 pm

babdubo:
I have autohidemouse in zoomplayer to 1 sec.
If I am understanding xmovewindow right,it force ZP to foreground 1/sec and then ZP feels that and trigger the mousepointer everytime it is focused.
Me to think it will be very hard to avoid that ZP or any other program brings up the mousepointer :(

The simplest solution would maybe be a .exe file or a .reg file that disable the mousedriver completly.
QTips
 
Posts: 158
Joined: Tue Dec 16, 2003 6:53 pm
Location: Norway

Postby badubo on Fri Nov 12, 2004 6:23 pm

You get the point....


But probably I can find a way to either :

- move the mouse outside the window
- try to disable the mousepointer inside the plugin if the mouse is in the window (but don't know how)
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Re: Badubo

Postby kolemieux on Fri Nov 12, 2004 8:26 pm

Badubo - I think I understand your statement kinda "Just an idea : create 2 events : 1 for show, one for hide and affect "show" to the enter event of your button/zone and "hide" to the exit event "

I guess what I would be trying to mimic is the way that SHOW/HIDE works with roll-over on a page..... This would not be a button push just when a button is rolled over or highlighted, not selected.

Is this not possible - again, no buttons are entered in the SHOW/HIDE usually just scroll-over or button up down but not entered?

Sorry if I am misundertanding what you've asked me to try.
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Postby kolemieux on Fri Nov 12, 2004 8:28 pm

When I move the mouse pointer into right field outside of the screen dimensions I am fine. I've been doing this for a while with Xlobby due to some of the SHOW/HIDE hangover images - this seem to help me as it keeps the mouse out of play.

badubo wrote:You get the point....


But probably I can find a way to either :

- move the mouse outside the window
- try to disable the mousepointer inside the plugin if the mouse is in the window (but don't know how)
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Postby badubo on Fri Nov 12, 2004 11:55 pm

@Kolemieux

I think I don't understand what you want to do...

I supposed you wanted to be able to show ZP when selection (mouse pointer or keyboard focus) goes over a button and hide it when you leave it...

Is it what you requested ?

Here is how you must proceed.

1. you must do that in a screen that has a working zone embedding ZP
2. create 2 events :
a Hide ZP : calling hide with Tmainfom as parameter
b Show ZP : calling Show with Tmainfom as parameter
3 open skin editor and select your button :
you have 3 allowed events (click, enter and exit)
assign "Show ZP" to enter and "Hide ZP" to exit.
Once you go over the button, ZP is shown when you leave, it disappear.

if you want ZP disabled at the opening of the screen, assign "Hide ZP" to the enter event of the screen
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby kolemieux on Sat Nov 13, 2004 12:33 am

Badubo -

You have described and quoted EXACTLY what I want to do, I've performed the steps (which I was not doing correctly before so thanks for the descritption) .... but )-: I can't seem to get it to work.

Can u verify this works Badubo - U R THE MASTER and this is what I want, but no luck sir.

Please advise and thanks
Chris

badubo wrote:@Kolemieux

I think I don't understand what you want to do...

I supposed you wanted to be able to show ZP when selection (mouse pointer or keyboard focus) goes over a button and hide it when you leave it...

Is it what you requested ?

Here is how you must proceed.

1. you must do that in a screen that has a working zone embedding ZP
2. create 2 events :
a Hide ZP : calling hide with Tmainfom as parameter
b Show ZP : calling Show with Tmainfom as parameter
3 open skin editor and select your button :
you have 3 allowed events (click, enter and exit)
assign "Show ZP" to enter and "Hide ZP" to exit.
Once you go over the button, ZP is shown when you leave, it disappear.

if you want ZP disabled at the opening of the screen, assign "Hide ZP" to the enter event of the screen
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Postby badubo on Sat Nov 13, 2004 12:54 am

I done it on my side and it works.
'except I wrote "Tmainfom" instead of Tmainform

Don't know what is wrong on your side.
Are you sure that you have correctly set the text zone in your screen?
Are the show and hide events working in standalone?
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Badubo is KING...

Postby kolemieux on Sat Nov 13, 2004 1:03 am

Badubo - I recreated the ZP Text Zone and made sure the manual HIDE/SHOW worked, .....

BINGO - I must have had a flub up on my page.

Dude, U R DAAA MAN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D

Thanks for everything....

(One last ?, I have not tried the OSD pieces or ControlBar yet - but really want to. I've been trying to walk before run. Can u tell me if you have these working and are pleased Badubo - and any last minute hints before I jump into that)..... I specifically am after CONTROL BAR. :?:
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Postby dgemily on Sat Nov 13, 2004 1:34 am

kolemieux,
you can show it as any other xmove drived window :
-create a text zone
- give it videocontrol_TControlForm.UnicodeClass as ID
- plugin>XMoveWindow>TControlForm.UnicodeClass as display
unfortunatly, it cannot be resized (I guess it is due to the fact that this is a bitmap)
- for the OSD : you can either make the same with TOSDForm.UnicodeClass

replace videocontrol by the name of your screen.
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

dgemily

Postby kolemieux on Sat Nov 13, 2004 2:40 am

dgemily

What ZP settings are u using with respect to the ControlBar.... I mean how do you within ZP have ControlBar setup to get this to work clean.

Thanks for the update.
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

Badubo...?

Postby kolemieux on Sun Nov 14, 2004 12:40 am

Since this has been one of the killer finds for me --- beyond killer, I am looking to tie another app into via. similar process. It's actually BeyondTV.

I have everything working rather well at this point - except navigation which I am working on - could be trick.

? - Can I make the TextZone for which I have BTV assigned as a Navigational item, and when the window is selcted it actually will recieve controls which I send to it from the remote/girder ---- nothing more than arrows/ , / . and the like. I thought perhaps the Lock/Unlock/Toggle commands would do that.

Is this possible - should this work. Once I navigate away from the window I would then send it back into it's locked status.

Please advise and thanks so much - Chris.
kolemieux
 
Posts: 155
Joined: Tue Jun 10, 2003 8:28 pm

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

Check out my latest 2.03 with Analog -TV controlled with xmovewindow
Added WinTV2000 for my PVR 250
With the latest update of WinTV2K it has dramaticly increased picturequality when using VMR video
:D
It is optimized for my cablecompany in Norway (CanalDigital) but should be easy to edit for another favorites in the tvchannelsdatabase
http://www.xlobby.com/files/qtips/Media ... 24x580.zip
QTips
 
Posts: 158
Joined: Tue Dec 16, 2003 6:53 pm
Location: Norway

PreviousNext