I build an OCX with an TreeView inside that drop-down, and when I use SetParent to make it appear over the form (like comboBox does, for example) a new item appears in the taskbar without caption.

I see that new childs became visible in the taskbar.

How to fix it? I need use another API to avoid his draw in taskbar?

lRet = SetParent(Tree.hwnd, GetDesktopWindow())


Thanks in advance.