CtreeCtrl Tool Tips
-
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 ;)
-
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 ;)
-
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 ;)
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.