: Try that:
: One thing: since the window will not have a caption - how to move it? You should implement mouse clicks and moves yourself to provide that functionality.
You can always trick Windows to move it like this:
// in your window proc
// get Windows to do its hittest first
longVal = DefWindowProc(hWnd, message, wParam, lParam);
// if the mouse is on client area, trick Windows to think its on the caption
if(longVal == HTCLIENT)
longVal = HTCAPTION;
If you put the code above in any window, clicking on the client area and dragging will move the while window around (like Winamp and WMP).
In real world app, you probably need to check if the cursor location is not on any of your buttons and other controls first otherwise nothing will work.