Hey Apex, I'm not really drawing anything to the window really. I tried putting a sync in the window move event, and it still didn't update. And I also have that optimization on.
Like I said, the DarkGDK component is there just for using the engine. I never, ever render anything to the screen. I use .NET controls that interact with the engine, and that's it.
My loop looks like this:
while (DarkGDK.Engine.LoopGDK)
{
DarkGDK.Display.LockBackbuffer();
DarkGDK.Core.ClearScreen();
//Run the server each loop
if (myServer.gotExternalIP == true)
{
myServer.run();
}
//Sync
DarkGDK.Core.Sync();
DarkGDK.Display.UnlockBackbuffer();
}
This just lets the component run without interference (works quite well actually). The only issue I've run into is this window dragging issue.