Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Child window

Status
Not open for further replies.

cppprogrammer

Programmer
Joined
Dec 18, 2007
Messages
9
Hello!

I am trying to create a child window that is resizable. It should also not be possible to move it out of the main window. I have read about the CreateWindowEx function in msdn and i have tried a lot of different combinations of the parameters. But i can not figure out how to do it.
It would be nice if anyone had a good example.

Is there any differences in the win api for different versions of windows? I.e. for XP or Vista.
I have myself a examble. But it does not work to compile it with Visual C++ 2008. I am using Windows XP.

Thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top