Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CtreeCtrl Tool Tips

CtreeCtrl Tool Tips

Scheduled Pinned Locked Moved C / C++ / MFC
questiondata-structureshelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marissa182
    wrote on last edited by
    #1

    Hi The tool tips for my tree control remain on my dlg and any other window behind my dlg untill i minimize my dlg or select another window how can i fix this also i have a group box that creates the sunken look for my custom tree control how do i stop it from showing through my tree control without losihng that sunken look thanks ;)

    A H 2 Replies Last reply
    0
    • M Marissa182

      Hi The tool tips for my tree control remain on my dlg and any other window behind my dlg untill i minimize my dlg or select another window how can i fix this also i have a group box that creates the sunken look for my custom tree control how do i stop it from showing through my tree control without losihng that sunken look thanks ;)

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      Hi, try to change tree control style. :rose:

      1 Reply Last reply
      0
      • M Marissa182

        Hi The tool tips for my tree control remain on my dlg and any other window behind my dlg untill i minimize my dlg or select another window how can i fix this also i have a group box that creates the sunken look for my custom tree control how do i stop it from showing through my tree control without losihng that sunken look thanks ;)

        H Offline
        H Offline
        HPSI
        wrote on last edited by
        #3

        Marissa182 wrote: i have a group box that creates the sunken look for my custom tree control how do i stop it from showing through my tree control without losihng that sunken look Hide the groupbox (ShowWindow(SW_HIDE)) and use CreateEx:

        GetDlgItem(IDC\_ZONETREE\_FRAME)->ShowWindow(SW\_HIDE);
        CRect frameRect;
        GetDlgItem(IDC\_ZONETREE\_FRAME)->GetWindowRect(frameRect);
        ScreenToClient(&frameRect);
        // MUST include WS\_CHILD
        DWORD dwStyle = WS\_CHILD|WS\_VISIBLE|TVS\_HASLINES|TVS\_LINESATROOT|TVS\_SHOWSELALWAYS|TVS\_HASBUTTONS;
        zone\_tree.CreateEx(WS\_EX\_CLIENTEDGE, "SysTreeView32", "mytree", dwStyle,
            frameRect, this, IDC\_ZONETREE);
        

        HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups