Windows XP look

This is a discussion on Windows XP look within the Windows Programming forums, part of the Platform Specific Boards category; Can someone please explain how exactlly do I make my program XP like? What is the difference between the regular ...

  1. #1
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768

    Windows XP look

    Can someone please explain how exactlly do I make my program XP like?
    What is the difference between the regular controllers and XP controllers?

    Also, does anyone know what the program designed with either regular windows controllers or the XP controllers will look like in Windows Vista?


    Thank you.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Using Windows XP Visual Styles.

    You really should have searched the board as this has been asked and answered in the past, for example:

    http://cboard.cprogramming.com/windows-programming/53322-win32-api-windows-xp-button-styles.html#post370167
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    Actually, I also wanted an answer on Windows Vista, that's why I posted a new thread. Sorry.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  4. #4
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378
    have you tried the process or searched the topic about vista?

    ..wow..i need to pay more attention to what i'm doing. anyways..

    for me its erroring at INITCOMMONCONTROLSEX iccx; i have my winver set at 0x500, linking to the libcomctl32 and included commctrl.h
    but the error says its undeclared. ?
    ERROR:
    gcc.exe -c yahtzee.c -o yahtzee.o -I"C:/Dev-Cpp/include" -DWINVER=0x500

    yahtzee.c: In function `WinMain':
    yahtzee.c:2288: error: `INITCOMMONCONTROLSEX' undeclared (first use in this function)
    yahtzee.c:2288: error: (Each undeclared identifier is reported only once
    yahtzee.c:2288: error: for each function it appears in.)
    yahtzee.c:2288: error: syntax error before "iccx"
    yahtzee.c:2289: error: `iccx' undeclared (first use in this function)

    make.exe: *** [yahtzee.o] Error 1

    Execution terminated
    Last edited by willc0de4food; 11-05-2006 at 04:36 AM.
    Registered Linux User #380033. Be counted: http://counter.li.org

  5. #5
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    Quote Originally Posted by willc0de4food
    have you tried the process or searched the topic about vista?

    ..wow..i need to pay more attention to what i'm doing. anyways..

    for me its erroring at INITCOMMONCONTROLSEX iccx; i have my winver set at 0x500, linking to the libcomctl32 and included commctrl.h
    but the error says its undeclared. ?
    Well, I don't have Vista... I just want to know if anyone have tried this.
    Also, what will a program that was designed to the XP look, and compiled on XP, will look like under Vista.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  6. #6
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Quote Originally Posted by willc0de4food
    ERROR:
    gcc.exe -c yahtzee.c -o yahtzee.o -I"C:/Dev-Cpp/include" -DWINVER=0x500
    You want that to read more like:
    gcc.exe -c yahtzee.c -o yahtzee.o -I"C:/Dev-Cpp/include" -DWINVER=0x500 -D_WIN32_IE=0x0400
    You may want to define _WIN32_IE with a more appropriate value, though - see Using the Windows Headers for details.
    Last edited by Ken Fitlike; 11-05-2006 at 04:55 PM. Reason: The board is screwing up the chronology of posts
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  7. #7
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378
    Quote Originally Posted by Devil Panther
    Well, I don't have Vista... I just want to know if anyone have tried this.
    Also, what will a program that was designed to the XP look, and compiled on XP, will look like under Vista.
    http://www.microsoft.com/windowsvist...y/preview.mspx
    download it



    ooooh...heh. yea. i was trying to convince myself that they were the same thing or you only needed one or the other. but that works.
    what exactly is this windows xp look supposed to be like? because adding that didn't change how my program looks any amount whatsoever. lol
    Last edited by willc0de4food; 11-05-2006 at 04:41 PM.
    Registered Linux User #380033. Be counted: http://counter.li.org

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 04-29-2006, 02:35 AM
  2. Program works on Windows XP and 2000, not on 98 or ME
    By MidnightlyCoder in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2006, 03:36 PM
  3. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 10:00 AM
  4. Help coding in Windows XP
    By zoanoid13 in forum Windows Programming
    Replies: 1
    Last Post: 02-24-2003, 09:07 PM
  5. windows xp and aol (im's)
    By rickc77 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-26-2001, 07:50 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21