How to move (drag & drop) a SDL_NOFRAME Window?

I’m using a SDL_NOFRAME window and want to allow user
to click on a certain area to move the window (as how
it normally works with the title bar).
Before I start writing complicate routine to handle
this I just want to know whether there are some
existing routines I have missed out.

thanks
Phuoc Can HUA=====
/_/_/_/_/_/_
www.huaonline.com
My Homepage is my Castle

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com