HI, I have been wondering how to make a program with the XP style buttons, edit boxes, etc. in it. I have made a GUI, but it's ugly. How can I make the controls look like the ones on say, a windows property sheet or something like that? I have tried the tutorial on http://www.codeproject.com/KB/cpp/AddXpStyle.aspx, but it ERASED ALL OF MY CONTROLS.

I figured it out, you have to include #include <commctrl.h>, link with the comctl32 library, and put InitCommonControls() in your WM_CREATE message handler. Then you can get on a command line and edit your program with the one I mentioned above (http://www.codeproject.com/KB/cpp/AddXpStyle.aspx).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.