Not possible using only C++.
Window management is platform dependent so you will have to use the facilities provided by the operating system.
For Windows, this can be done by using the freely downloadable platform SDK.
For Linux, I don't know. Try a google search on Linux GUI programming or something.
WolfPack
Postaholic
2,051 posts since Jun 2005
Reputation Points: 572
Solved Threads: 115