Set window on top during creation.

This commit is contained in:
the_fiddler 2008-01-15 00:02:58 +00:00
parent 88cfad13b9
commit 762ea8f1bb

View file

@ -334,6 +334,8 @@ namespace OpenTK.Platform.Windows
"Could not create native window and/or context. Handle: {0}",
this.Handle));
Functions.SetWindowPos(this.Handle, WindowPlacementOptions.TOP, Left, Top, cp.Width, cp.Height, SetWindowPosFlags.SHOWWINDOW);
Debug.Unindent();
}