Missing SetStyle method in RenderWindow class

Mar 23, 2013 at 10:50 PM
For changing the appearance of the window i miss this methods inside the RenderWindow class:

I use a appearance with no border. So i have to change the m_dStyle value.

DWORD GetStyle();
void SetStyle( DWORD dStyle );
Mar 26, 2013 at 1:57 AM
I'll add this one into the next commit too.
Mar 26, 2013 at 11:09 AM
This has been added and tested in a very simple manner. Please let me know if it works for you.
Nov 10, 2013 at 7:16 PM
Edited Nov 10, 2013 at 7:16 PM
geht nicht ganz.

musste was auskommentieren dafür.
void Win32RenderWindow::Initialize(IWindowProc* WindowProcObj)
        // Specify the window style

Win32RenderWindow::Win32RenderWindow( )
    m_hWnd = 0;
m_pWindow->Initialize( this );
SetStyle auzurufen funktioniert zum Beispiel garnicht.
Jan 10, 2014 at 3:48 PM
Your first item is a good point. I have moved the default values into the constructor and removed them from the initialize method. Sorry about that :(

The second point is not so easy to set up. After calling initialize, the window has already been created, and probably also the swap chain as well. If we were to modify the window, wouldn't we then have to re-create the window? That would invalidate the swap chain and require some way to track what to do. Or is there an easier way to do this that I am not seeing right now?