Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Plazzmex on January 29, 2009, 07:01:18 pm

Title: Using windows visual styles.
Post by: Plazzmex on January 29, 2009, 07:01:18 pm
Hello.
I have a problem.
Ive maked my prog to use Windows visual styles like described here: http://msdn.microsoft.com/en-us/library/ms997646.aspx#xptheming_topic4

But in Dev-Cpp with GCC MinGW compiler it works perfect, but with CodeBlock it doesnt. It disables all the controls and popups in my program and that's it.

What am I doing wrong ?
Title: Re: Using windows visual styles.
Post by: Plazzmex on January 30, 2009, 09:41:33 pm
anybody ?
Title: Re: Using windows visual styles.
Post by: stahta01 on January 30, 2009, 11:29:25 pm
What Compiler are you using with Code::Blocks build?
Note, this is needed info on nearly every question; please state it!

FYI: The "XP Look and feel" plugin helps to handle this problem; but, I have never did any fine tuning on it.

Tim S
Title: Re: Using windows visual styles.
Post by: Plazzmex on January 31, 2009, 09:55:15 pm
GCC MinGW as with dev-cpp..

p.s - and the "XP look and Feel" plugin doesn't help.. the same problem when i'm creating the manifest file with it.. so.. something is wrong there.. but what ?
Title: Re: Using windows visual styles.
Post by: stahta01 on January 31, 2009, 10:51:57 pm
GCC MinGW as with dev-cpp..

If you are using another installation of MinGW GCC that might be the cause.
NOTE: To use more than one copy of MinGW GCC, there MUST NOT be an C:\MinGW folder where C is any drive letter.

I suggest turning on Full Compiler logging under Code::Blocks and whatever dev-cpp can do to get the commands passed to the Compiler; then, compare the commands to see where the problem exists.

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Tim S

Title: Re: Using windows visual styles.
Post by: Plazzmex on February 06, 2009, 06:00:08 pm
oh way..
I think that its a windows problem..
Because now even with wx-devcpp it isn't working..

What to do ?
Title: Re: Using windows visual styles.
Post by: ollydbg on February 07, 2009, 07:25:55 am
oh way..
I think that its a windows problem..
Because now even with wx-devcpp it isn't working..

What to do ?
Delete all the MinGW package, and install only one package.
Post the compiler output message if problems still exist.
Title: Re: Using windows visual styles.
Post by: Plazzmex on February 09, 2009, 06:56:06 pm
Delete all the MinGW package, and install only one package.
Tried this.. Nothing changed.. the same problem exist.
Post the compiler output message if problems still exist.
Nothing.. The compiler compiles it perfect, without any warning messages or errors..
all clear.