Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Carousel on June 10, 2008, 03:36:06 pm

Title: Why are my buttons not looking properly?
Post by: Carousel on June 10, 2008, 03:36:06 pm
In my resource editor it says the buttons will look round, like the ones on the CB startup tips:

(http://rapid-photo.com/uploads/e1cc92ee9f636d35fb75ec13eede8669.PNG)

but when i make the file it shows up square:

(http://rapid-photo.com/uploads/3b41ae6e35fe9a4010e4baf8394617d9.PNG)

i know that it's not my windows settings, many other apps have rounded buttons like that and display fine (codeblocks startup for example) but the apps i make with CB give me the square ones :S

help pls
Title: Re: Why are my buttons not looking properly?
Post by: JGM on June 10, 2008, 06:43:00 pm
use the xp look and feel plugin, it generates a file that is needed to add xp style to applications also you can embed that file to your exe by using a resource file and adding this line:

1 24 "your_manifest_file.manifest"

If my memory is not bad that's the code. The 24 is the resource type and the 1 the identifier

Good Luck!  :wink: