You can get the native window handle with window.getSystemHandle(). From there you can use any Win32/GDI function that you need (GetDC, etc.). But remember that SFML uses OpenGL. I don't know what you want to do with GDI contexts, but it may not work as expected.