Author Topic: Using windows visual styles.  (Read 6473 times)

Offline Plazzmex

  • Single posting newcomer
  • *
  • Posts: 7
Using windows visual styles.
« 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 ?

Offline Plazzmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: Using windows visual styles.
« Reply #1 on: January 30, 2009, 09:41:33 pm »
anybody ?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: Using windows visual styles.
« Reply #2 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
« Last Edit: January 30, 2009, 11:31:22 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Plazzmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: Using windows visual styles.
« Reply #3 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 ?
« Last Edit: January 31, 2009, 09:58:57 pm by Plazzmex »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: Using windows visual styles.
« Reply #4 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

« Last Edit: January 31, 2009, 10:56:20 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Plazzmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: Using windows visual styles.
« Reply #5 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 ?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6034
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Using windows visual styles.
« Reply #6 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.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Plazzmex

  • Single posting newcomer
  • *
  • Posts: 7
Re: Using windows visual styles.
« Reply #7 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.