Missing x and ok buttons on Pocket PC

Hi folks,

I’m trying to place the standard ‘x’ (minimize) or ‘ok’ (close) buttons of
Pocket PC using SHDoneButton, but nothing seems to work.

So, i’m suspecting that for some reason, Pocket PC doesnt recognize the SDL
window as a normal window and does not enable this button. Does anyone knows
how can i enable these buttons with SDL?

I’m targetting Windows CE 3.x (AKA Pocket PC) and 4.x



using SDL_NOFRAME in the init video fixes the thing.