Thread: problem with updating window....

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    75

    problem with updating window....

    alrite well im quite new to programming...and even newer to windows programming...but anyways...on my window i have a static text which i want to be able to change by the click of a button...and each time the button is clicked...it adds 1 to the static text box...but im not quite sure how to do this! So any help would be appreciated...


    BTW im using MVC++6

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    If you don't want to mess with GDI (HDC's, etc.) then the simplest way would be to use GetWindowText() and SetWindowText().

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    75
    how would those work?
    MSVC++~

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    try and do something for yourself and lookup the two functions that were mentioned.. there's documentation for them all over the web.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  2. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 10:50 AM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  4. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM
  5. How to change window style at runtime?
    By Mr. Bitmap in forum Windows Programming
    Replies: 5
    Last Post: 06-09-2002, 04:49 PM