You need to add a manifest for your .exe that specifies that you want to use themes. The default behavior is to use Win9x/NT/2K controls for the sake of compatibility - themed XP+ controls are slightly larger. This explains how to add such a manifest in detail.