Hi,
I have a strange problem. I added a usercontrol to my plugin. Everything is fine in the 0.2.2.0 and older svn. Right now in the actual svn the usercontrol seems to be in the background or is not rendered correctly. I add the control like this:
public static MyOSD osd; // MyOSD is a usercontrol
..
OnPageLoad()
..
osd = new MyOSD();
GUIGraphicsContext.form.Controls.Add(osd);
GUIGraphicsContext.form.Focus();
It works in windowed mode without any problem. Only in fullscreen this problem appear. If I disable DirectX exclusive mode it also works but the MP is rendered wrong on my desktop.
Has anything changed so far ? Any suggestions ?
Greetz
kroko
I have a strange problem. I added a usercontrol to my plugin. Everything is fine in the 0.2.2.0 and older svn. Right now in the actual svn the usercontrol seems to be in the background or is not rendered correctly. I add the control like this:
public static MyOSD osd; // MyOSD is a usercontrol
..
OnPageLoad()
..
osd = new MyOSD();
GUIGraphicsContext.form.Controls.Add(osd);
GUIGraphicsContext.form.Focus();
It works in windowed mode without any problem. Only in fullscreen this problem appear. If I disable DirectX exclusive mode it also works but the MP is rendered wrong on my desktop.
Has anything changed so far ? Any suggestions ?
Greetz
kroko