Child window

This is a discussion on Child window within the Windows Programming forums, part of the Platform Specific Boards category; Hello, I am trying to create a very simle application just to learn somethink new. My aim is to create ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    162

    Child window

    Hello,
    I am trying to create a very simle application just to learn somethink new.
    My aim is to create a child window which would clip on the edge of the parent window and will have its own caption...

    I tried to put as DWORD dwStyle "WS_CHILD | WS_CAPTION" but it apparantly failed to work... The window was able to move and it did clip but it was disabled even if there was no parameter of "WS_DISABLED"

    What parameters should I use in DWORD dwStyle so the created window is child and has its own caption?
    If am I getting the whole aim wrong please correct me

    Thank you for responses

  2. #2
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    I'm not sure exactly what you're aiming for, but I think this sounds like a MDI (multiple document interface) type solution. You might want to check out theForger's MDI tutorial and the MSDN MDI page.

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    definately sounds like MDI, which isnt simple, but isnt that hard either. Check out petzolds MDI example. I found it easy to rewrite to my needs.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 09:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  4. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 05:10 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

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