creating controls on the desktop?!!
-
if i was creating a control in a form i might do this: ctrl->Create(WS_CHILD, r, this, ID_EXTENDED_EDIT); ctrl->ShowWindow(1); Which works fine, however I want my control to be a child of the desktop ie free floating modeless dialog box, so I thought: ctrl->Create(WS_CHILD, r, this->GetParent(), ID_EXTENDED_EDIT); ctrl->ShowWindow(1); would work, but it crashes and I cant see why... any help?
-
if i was creating a control in a form i might do this: ctrl->Create(WS_CHILD, r, this, ID_EXTENDED_EDIT); ctrl->ShowWindow(1); Which works fine, however I want my control to be a child of the desktop ie free floating modeless dialog box, so I thought: ctrl->Create(WS_CHILD, r, this->GetParent(), ID_EXTENDED_EDIT); ctrl->ShowWindow(1); would work, but it crashes and I cant see why... any help?
I'm willing to bet that Microsoft doesn't want you to be able to do that, maybe they feel it would affect there OS in some way but at any rate I doubt you can do it.