Thread: Help with complex program

  1. #16
    Registered User
    Join Date
    Apr 2005
    Posts
    39
    Heh, silly me. I'm new at this...

    But now there is another problem. The program creates a window, but it seems to be messed up. You can do anything to it. You can't move it, you can't close it, the title doesn't show up, nothing. its wierd...

  2. #17
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    The default action for your window procedure should be to call the system handler - DefWindowproc.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #18
    Registered User
    Join Date
    Apr 2005
    Posts
    39
    So could somebody give me the correct code? (By fixing mine) because I can't figure it out...Everything i try makes more errors....

  4. #19
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Any amount of information on the windows programming board has that kind of information.

    But it seems to me that you need to get to work on the basics of programming before rushing to tackle win32 programming.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  2. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 11:17 PM
  3. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 10:58 PM
  4. 2 am complex double conversion woes
    By Roule in forum C++ Programming
    Replies: 1
    Last Post: 10-14-2004, 02:53 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM