C++ Question about child windows

Sharky Forums


Results 1 to 4 of 4

Thread: C++ Question about child windows

  1. #1
    Goldfish
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    92

    Question C++ Question about child windows

    I am trying to add a new window (a TListBox to be exact) to an already existing window, and I am not sure how to make the existing windows "move over".

    Does anyone think they can help me? I can provide more info or some code to anyone who thinks that they can help.

    ------------------
    Raven667
    =================================
    Windows 2000 Professional
    AMD K6/2-400 @ 450MHz
    FIC VA-503+ mobo
    3Dfx Voodoo 3 2000 AGP @ 175MHz(main vid card)
    TVM AS-5S 15" Primary Moniter
    SiS 6326 PCI (secondary vid card)
    PowerMate/MultiSync II 14" Secondary Moniter (old 386 POS)
    D-Link 10/BaseT NIC ISA
    Soundblaster 16 ISA
    =================================
    Raven667
    =================================
    Murphy's Laws (a selection):
    - Never play leapfrog with a unicorn.
    - A Smith & Wesson always beats 4 Aces.
    - If everything seems to be going well, you boviously don't know what the hell is going on.

  2. #2
    Expensive Sushi
    Join Date
    Apr 2001
    Location
    Madrid, Spain
    Posts
    7

    Post

    Are you in MFC or just the Win32 SDK? Are we talking about a dialog here?

    If it's a dialog, the only way I know of is rather tediously obtaining pointers to each existing dialog control that's in the way and shifting it over with a MoveWindow.

    Not sure if this is what you meant.

  3. #3
    Mako Shark dighn's Avatar
    Join Date
    Nov 2000
    Location
    Vancouver, BC Canada
    Posts
    3,171

    Post

    TListBox sounds like something from VCL which is the library used by Borland C++ Builder or Delphi. But I have no idea what he means by making the window "move over"

    ------------------
    If I asked you to send me $1000, would your answer be the same as your anwser to this question? (Yes or No)
    .

  4. #4
    Goldfish
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    92

    Post

    Thank you both for replying, but, alas, you are too late. I have fixed the problem. To make a long story short, I just played guess and check until I got it to work.

    ------------------
    Raven667
    =================================
    Windows 2000 Professional
    AMD K6/2-400 @ 450MHz
    FIC VA-503+ mobo
    3Dfx Voodoo 3 2000 AGP @ 175MHz(main vid card)
    TVM AS-5S 15" Primary Moniter
    SiS 6326 PCI (secondary vid card)
    PowerMate/MultiSync II 14" Secondary Moniter (old 386 POS)
    D-Link 10/BaseT NIC ISA
    Soundblaster 16 ISA
    =================================
    Raven667
    =================================
    Murphy's Laws (a selection):
    - Never play leapfrog with a unicorn.
    - A Smith & Wesson always beats 4 Aces.
    - If everything seems to be going well, you boviously don't know what the hell is going on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •