complete newbie help

This is a discussion on complete newbie help within the Windows Programming forums, part of the Platform Specific Boards category; hi, I just started to learn win32 using the forge's tutorial, I know c++ and c at least enougth and ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    113

    complete newbie help

    hi,

    I just started to learn win32 using the forge's tutorial,

    I know c++ and c at least enougth and nothing about win32 api programming,

    i'm just trying to figure out how a second window is handled,

    ok to create and show the "main" window i dont have any problems and to handle the events from a winproc function, but i dont know how to handle the events of another created window in the same program,

    thi is done in the same winproc function of the main window?
    must i create a new winproc for each new window i create?
    are the "rest" windows treated as "dialogs"?and not exactly as another window?

    i ask this because in this tutorial and the rest of tutorials i have they only gives examples for a single main window, and mdi but is not mdi what i need know

    thanks for any idea
    i just need a little theory how is this achieved

    please excuse my poor english
    Last edited by terracota; 11-11-2004 at 08:57 AM.

  2. #2
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115
    you probably mean Dialogs....

    http://www.winprog.org/tutorial/dialogs.html

    Here you've got a nice tutorial about dialogs and about handling them...

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Check out my website for software development links.

    http://www.dslextreme.com/users/kuphryn/links.html

    Kuphryn

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    113
    so, if i need to use more than one window i use dialogs?

    thanks for reply

  5. #5
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Not necessarily; you can have any number of windows based on your own or even system registered window classes. But if you've 'just started to learn win32' then dialogs are fairly fundamental.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Complete newbie is lost
    By Boltrig in forum C Programming
    Replies: 1
    Last Post: 11-25-2007, 07:23 PM
  2. Complete Open GL Newbie
    By Krak in forum Game Programming
    Replies: 21
    Last Post: 05-01-2003, 09:19 AM
  3. Complete programming newbie - C or C++
    By Blobby in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 02-17-2003, 10:14 AM
  4. Doom Lord engine complete!
    By Leeman_s in forum Game Programming
    Replies: 8
    Last Post: 05-12-2002, 01:44 AM
  5. Need some really simple help (complete Linux newbie)
    By Hannwaas in forum Linux Programming
    Replies: 11
    Last Post: 12-10-2001, 03:16 PM

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