i m writing a plugin and i have some question please help me because i m trying for two week and i dont find a
solution:
1. How can i Activate new window i use this Method
GUIWindowManager.ActivateWindow(8110, true);
but it didint work, i become a black window:
This is the code for the second window what i try to call from the first window
please help me and thank you
please havent sonme one any idea, i m waiting
solution:
1. How can i Activate new window i use this Method
GUIWindowManager.ActivateWindow(8110, true);
but it didint work, i become a black window:
This is the code for the second window what i try to call from the first window
HTML:
class Media2: GUIWindow
{
public Media2()
{
}
public override int GetID
{
get
{
return 8110;
}
set
{
base.GetID = value;
}
}
public override bool Init()
{
return Load(GUIGraphicsContext.Skin + @"\Oerflaeche2b.xml");
}
protected override void OnPageLoad()
{
MessageBox.Show("Oberflaeche2 " );
base.OnPageLoad();
}
protected override void OnPageDestroy(int new_windowId)
{
base.OnPageDestroy(new_windowId);
}
protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType)
{
base.OnClicked(controlId, control, actionType);
}
public override bool OnMessage(GUIMessage message)
{
if (message.Message == GUIMessage.MessageType.GUI_MSG_ITEM_FOCUS || message.Message == GUIMessage.MessageType.GUI_MSG_ITEM_FOCUS_CHANGED)
{
}
return base.OnMessage(message);
}
}
please help me and thank you
please havent sonme one any idea, i m waiting