is there any intrinsic / API way to make a textbox have "XP" corners?

i found a post from 2001, but the attachment had dissapeared.

thanks for any help!