0

Hello
I'm trying to make a window with Windows API. Whenever I run my application, the buttons look like Windows 98 buttons. How do I make the buttons look like XP buttons on Windows XP and Win7 buttons on Windows 7?

My compiler is Mingw.

CreateWindowEx(
    0, "BUTTON", "OK",
    WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON
    10, 10, 50, 25,
    hwnd, (HMENU)com, hInstance, NULL
);
3
Contributors
4
Replies
6
Views
7 Years
Discussion Span
Last Post by Ancient Dragon
2

Not sure of your requirements as far as compilers go, but have you tried looking into C#? *prepares flame shield* From my experience, unless I'm writing financial software or guiding missiles down chimneys, I prefer C# for anything GUI based. However, you may have a restriction against this for some reason.

Votes + Comments
For better or worse that seems to be M$'s strategy
0

I don't work with C# or .net, I work with C++.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.