Click to See Complete Forum and Search --> : C++ Question about child windows


Raven667
04-08-2001, 08:00 PM
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
=================================

David Pritchard
04-21-2001, 10:24 PM
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.

dighn
04-21-2001, 10:42 PM
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" http://www.sharkyforums.com/ubb/confused.gif

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

Raven667
04-22-2001, 12:22 AM
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
=================================