Thread: I am in need of help, need C++ guidance

  1. #46
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    All your answers are here: http://msdn2.microsoft.com/library/

    But only if you have the base knowledge.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  2. #47
    Registered User manofsteel972's Avatar
    Join Date
    Mar 2004
    Posts
    317
    also, where would i change the background?(color) thanks in advance.

    You might want to start by reading the notes in the code?

    /* Use Windows's default color as the background of the window */

    wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;
    "Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
    -- Cowper

    Operating Systems=Slackware Linux 9.1,Windows 98/Xp
    Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)

    You may teach a person from now until doom's day, but that person will only know what he learns himself.

    Now I know what doesn't work.

    A problem is understood by solving it, not by pondering it.

    For a bit of humor check out xkcd web comic http://xkcd.com/235/

  3. #48
    Registered User
    Join Date
    Aug 2007
    Posts
    16
    how do i change that? just put in 0xffffff00?

    "wincl.hbrBackground = (HBRUSH) 0xffffff00;
    Last edited by Chessman.exe; 08-23-2007 at 06:22 PM.

  4. #49
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Search for brushes and how they work.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #50
    Registered User
    Join Date
    Aug 2007
    Posts
    16
    brushes? dunno where or how or what exactly to search.

  6. #51

  7. #52
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    The very first Google result when searching for "hbrush" is the page of Forger's Win32 tutorial that explains what brushes are and how to use them.

    Since you are apparently unwilling to do even the slightest bit of research without having your hand held, we have decided to close this thread and not re-open it.

    I'm going to say it one last time: learn the core language first. Get a good book (see the recommendations thread). When you know the language, then learn Win32 programming if that's what interests you.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need some guidance.
    By Kinto in forum C Programming
    Replies: 10
    Last Post: 05-31-2009, 12:02 AM
  2. Guidance, please.
    By mattagrimonti in forum C Programming
    Replies: 2
    Last Post: 11-26-2008, 08:50 AM
  3. need guidance to connect to serial port
    By gnychis in forum Linux Programming
    Replies: 1
    Last Post: 06-02-2005, 10:10 AM
  4. Audio guidance.
    By Sebastiani in forum Windows Programming
    Replies: 6
    Last Post: 12-22-2002, 09:14 AM
  5. advice and possibly guidance
    By nazri81 in forum C++ Programming
    Replies: 3
    Last Post: 11-07-2002, 10:19 PM