Click to See Complete Forum and Search --> : Creating Child Windows Similar To MDI


loweyson
November 17th, 2003, 10:27 AM
Hi,

I would like to create a series of Child Windows that move freely like MDI documents, without using the MDI mechanism. Each of my child windows is created with the following styles:

WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE,

-- and --
WS_CHILD | WS_CAPTION | WS_OVERLAPPED | WS_SYSMENU | WS_CLIPSIBLINGS | WS_TABSTOP,

which gives me the functionality I require except that the child windows are never activated. This results in not being able to interact with any controls appearing in the child windows albeit i can still drag, move and re-size the child windows themselves.

Does any body have a suitable solution for this problem.

Many thanks,

Liam.