When i test my dialog box in Visual Studio 2008 by CTRL+T shortcut, i can see the dialog box items with neat slick borders. But when i compile the project and launch it via the program itself, it looks “3d” style: every dialog box has shading like old Windows 98 style.
I want to use the slick 1 pixel borders that the testing mode shows. How do i enable/disable between these two styles?
Here is example of how those two styles look like, i want to use the upper one:

STEP1 add this code to your stdafx.h:
STEP2 on method InitInstance():
I’m using Visual Studio 2010 and it works.