Ran into a head-scratcher that was bugging me for a while -- I had some programs that had translucent borders on the main window under Aero and some that weren't. Finally figured out the problem. Turns out that if you try to maximize _screen by changing WindowState while it is not visible, the window border ends up opaque.
Let's say you create a project with a main program that contains:
_SCREEN.VISIBLE = .T.
_SCREEN.WINDOWSTATE = 2
WAIT WINDOW "Hello!"
and a CONFIG.FPW with the following:
SCREEN=OFF
RESOURCE=OFF
compile to EXE then run the resulting program -- it works OK.
If we now reverse the first two lines so that we try maximizing the screen before it is visible:
_SCREEN.WINDOWSTATE = 2
_SCREEN.VISIBLE = .T.
WAIT WINDOW "Hello!"
You should now see that the window borders are opaque.