hello, i have done something like that:

BOOL CDialogList::OnInitDialog()
{

CDialog::OnInitDialog();
SetParent(GetDesktopWindow());
}

to create it i do:
CDialogList * pD== new CDialogList();
pD->Create(IDD_DIALOG); //put ur ctrl id
pD->ShowWindow(SW_SHOWNORMAL);

HOWEVER I HAVE A PROBLEM:

when i click on this child dialog, and move the mouse from A to B (keeping the mouse button clicked),
during all the movement from a to b, the dialog stays at A, and then when i release the mouse button it appears suddenly ??!
as well there is problem when i click the title bar, it is always becoming "blue" (active),

any help ...?