Go to fullscreen and back in directX

I'm now learning how to use directX (10 - 11), and i use materials from SDK samples, http://www.rastertek.com/ and http://takinginitiative.net/category/graphics-programming/directx-10-tutorials. But i find it suprising that none has explainded the transition between fullscreen and windowed. I also seached with google, in GameDevelopment and StackOverflow, but no result.

What i'm asking is explanation or full exaples for both Window and DirectX "classes".

Thanks for help.

You can do this using the normal Windows API function ChangeDisplaySettings http://msdn.microsoft.com/en-us/library/windows/desktop/dd183411(v=vs.85).aspx