Alrighty, I'll take a look at that. With regards to the other bit, there are two types of window styles: regular, win3.1 era, and extended, i.e. 95+. Both affect how the window is drawn in different ways. Try this:
$window->SetWindowLong(-20, 128); #-20 = GWL_EXSTYLE. 128 = WS_EX_sometoolbarconstantorother. It's setting the extended style bits - that's what the -20 is for - and it can probably be done via a property, but I'm too lazy to figure out how, and this is easier. BTW, you have to hide and reshow the form if you want to change these bits whilst the form is visible. Dave