OK, thanks. I looked around the docs, but I just wanted to be sure.
I solved my problem (on Windows) by doing this:
window = sfWindow_Create( vmode, "asdf", flags, settings );
myhandle = GetActiveWindow(); // Win32 API
...
SetForeGroundWindow( myhandle );