15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Tooltip in CTreeView

Syed -- sxs296@psu.edu
Wednesday, March 19, 1997

Environment: Visual C++ 4.2b, Win95/WinNT 4.0

Hi there,
I recall sometimes ago that someone asked about tooltip in CTreeView much like
the one shown by Visual C++ workspace window (the tooltip that will show
only if the label of the CTreeView exceeds the border of CTreeView.
I tried the solutions :- adding TVS_TRACKSELECT as style for VC++4.2-flat or
0x200 (not sure the right number, have tried 0x200 and 0x2000 anyway) in
VC++4.2b but I cannot reproduce the tooltip. I have no idea what goes wrong
since the solution seemed so simple as I just need to add the style during
PreCreateWindow.
Any  ideas?
BTW, I'm using CTreeView in CSplitterWnd.





Mario Contestabile -- Mario_Contestabile.UOS__MTL@UOSMTL2.universal.com
Monday, March 24, 1997

> I have no idea what goes wrong
>since the solution seemed so simple as I just need to add the style during
>PreCreateWindow.
>Any  ideas?
>BTW, I'm using CTreeView in CSplitterWnd.

You don't have to do anything. Download IE 3.0.
They are called TitleTips, and work for tree and list views.

Mario
mcontest@universal.com




Kyle Green -- kyle@a.crl.com
Friday, March 28, 1997

Hello,

Using NT4.0, VC4.2

I am using a CTreeCtrl, and I have the same problem: not title tip or
whatever it is called in my tree. I _do_ get the title tips in Explorer,
etc, but not in my app. There must be a style which has to be set or
something?

Any ideas?

Thanks,

Kyle


At 09:34 PM 3/24/97 EDT, Mario Contestabile wrote:
>> I have no idea what goes wrong
>>since the solution seemed so simple as I just need to add the style during
>>PreCreateWindow.
>>Any  ideas?
>>BTW, I'm using CTreeView in CSplitterWnd.
>
>You don't have to do anything. Download IE 3.0.
>They are called TitleTips, and work for tree and list views.
>
>Mario
>mcontest@universal.com
>
>
>





Become an MFC-L member | Вернуться в корень Архива |