Results 1 to 2 of 2

Thread: SetParent to Desktop Problem

  1. #1

    Thread Starter
    Registered User
    Join Date
    Apr 1999
    Location
    Brazil
    Posts
    144

    SetParent to Desktop Problem

    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.

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Try using SetWindowStyle to make it a different window style.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width