Programming assistance - Plugin overlay (on top of tv for example) (1 Viewer)

coolio

Portal Member
June 10, 2008
9
0
Home Country
Hi to everyone,
I have been developing a plugin for mediaportal and it seems to work rather well.
I have tralled through the forums and the source code and yet I cannot work out how to create my own overlay.
I would like my plugin to pop on top of for example the TV Plugin.

Currently I can press a button and my plugin pops up with the tv in a small box(bottom left). I press back and it's maximised again. Close to my desired effect but I really want it to work like the TVGuide.

I have studied the TVGuide source as well as topbar. I thought these would lead me to my answer but it is eluding me.

Currently I am using.
// activate this window...
GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_WINDOW_INIT, MYGUID, 0, 0, -1, 0, null);
OnMessage(msg);

I don't think that my solution is a one liner but if anyone can assist me with this I would very much appreciate it.
Even if its to tell me it's not feasible.

Another pathetic attempt..
GUIOverlayWindow MyOverlay = (GUIOverlayWindow)GUIWindowManager.GetWindow(10324);
if (MyOverlay != null)
{
MyOverlay.Focused = true;
}
MyOverlay.LoadSkin();
MyOverlay.Init();
MyOverlay.Focus();
MyOverlay.Render(10324);


Regards
 

Users who are viewing this thread

Top Bottom