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

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


CTreeCtrl TVIS_DISABLED state

Barry Tannenbaum -- barry@dddv.com
Friday, April 19, 1996

Environment: MSVC++ 2.2 & 4.1 / NT 3.51

Anybody know what's up with the TVIS_DISABLED state for a tree control?
It's documented in both the MSVC 4.1 help file and the MSDN April '96 CD,
but it's not defined anywhere in the include directories that I (or the
compiler) can find.

Am I SOL until MSVC 4.2, or can someone give me the magic value and hope
that it will work with MSVC 4.1 (or even better, MSVC 2.2)?

        - Barry

--------------------------------------------------------------------------------

3DV Technology, Inc              Phone: (603) 595-2200, X228
410 Amherst St., Suite 150       Fax:   (603) 595-2228
Nashua, NH  03063                Net:   barry@dddv.com




Joseph Koral -- jkoral@ftp.com
Monday, April 22, 1996

[Mini-digest: 3 responses]

>> Anybody know what's up with the TVIS_DISABLED state for a tree =
control?

My understanding was that the disabled state of the tree control was =
removed late in the game, and never got removed from the docs.  I seem =
to recall it working in an early beta version, but I could be wrong on =
that point.

A while back, I tried iterating over the remaining TVIS_xxx states, to =
see if the feature was still implemented in code, but had no luck.  I =
have not tried this with the latest COMCTL32.DLLs to come out of =
Microsoft.  (Note these have new exported functions, and who knows what =
else).

- Joseph

-----From: "Mike Blaszczak" 

> Environment: MSVC++ 2.2 & 4.1 / NT 3.51

Thanks.

> Anybody know what's up with the TVIS_DISABLED state for a tree control?

It was designed, documented, and then not implemented.  It's not been removed 
from the documentation, and that's a documentation bug. Unfortunately, VC++ 
can't fix those bugs because our group takes the SDK documentation and just 
bakes it in--content problems caused by another group are things we can 
complain to them about but can't fix our own bad selves... and we've 
complained about this one a few different times.

.B ekiM
TCHAR sz[] = _T("Ah, screw it.");
-----From: Dan Kirby 

It's a doc error.  TVIS_DISABLED isn't implemented by the control.  Next 
version of VC++ will most likely have this reference removed from the 
documentation.

--dan




| Вернуться в корень Архива |