It's still fairly relevant to the topic Clyde, as it's to do with windows..
For a borderless window, centered you could do something like this;
XRES= XRES (IN PIXELS)
YRES= YRES (IN PIXELS)
SystemX = cast(WORD,GetSystemMetrics(SM_CXSCREEN))
SystemY = cast(WORD,GetSystemMetrics(SM_CYSCREEN))
XXX=(XRES-SYSTEM_X)/2
YYY=(YRES-SYSTEM_Y)/2
hDC = GetDC(CreateWindow("Edit", "TITLE", WS_DLGFRAME+WS_POPUP+WS_VISIBLE,xxx, yyy, XRES , YRES, 0, 0, 0, 0))