Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Program window & Vista theme problem

This thread is locked; no one can reply to it. rss feed Print
Program window & Vista theme problem
Zepper
Member #8,715
June 2007
avatar

- When I run my program under Windows Vista, I get a warning message about changing the color scheme to the "Windows Vista Basic". Any clues?

- I use Allegro + MinGW + Dev-Cpp in Windows Vista Home Basic.

Kibiz0r
Member #6,203
September 2005
avatar

Any time you run a windowed app that uses hardware acceleration, Vista turns off Aero. It has nothing to do with your program. If you change your theme to Vista Basic permanently, you won't have to deal with that annoyance.

Trent Gamblin
Member #261
April 2000
avatar

Not any hardware accelerated app. In fact, it's software directdraw apps that don't match the desktop color depth that cause the theme to change.

If eating hotdogs is wrong, I don't wanna be right.

Zepper
Member #8,715
June 2007
avatar

Not any hardware accelerated app. In fact, it's software directdraw apps that don't match the desktop color depth that cause the theme to change.

- Oh, you're correct! Thanks.

- Additionally, is something different on Vista? Dev-Cpp has an option to change the program default icon, but it seems to work only on XP. Does Allegro allow to change the window/program icon?

LennyLen
Member #5,313
December 2004
avatar

Zepper said:

Does Allegro allow to change the window/program icon?

In the tools\win directory that comes with Allegro is a program called wfixicon. You can use that to create a .rc file which can be included with your project to create the icon. With Code::Blocks, I just use the add to project option to add the resource file, and it takes crae of everything from there. I'm not sure about Dev-C++.

Quote:

Dev-Cpp has an option to change the program default icon, but it seems to work only on XP.

That's because Dev-C++ is outdated. Try using an IDE that is still maintained.

Zepper
Member #8,715
June 2007
avatar

- I installed Code::blocks here. Looks good. Thanks.

BlackShark
Member #9,796
May 2008

no, Dev-C++ icon changer should work for Vista. I've used it myself
(though, it's probably best to update your IDE either way)

-BlackShark

Zepper
Member #8,715
June 2007
avatar

It does not work here. How do you do for Vista? I already reinstalled Dev-Cpp and MinGW.

Go to: