PRB: C2065 Error on TVIS_FOCUSED (166471)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

This article was previously published under Q166471

SYMPTOMS

The following error appears if you use the symbol TVIS_FOCUSED in your application and use a newer version of CommCtrl.h (Version 1.2):
Error C2065: 'TVIS_FOCUSED' : undeclared identifier

CAUSE

The new versions of Commctrl.h do not define TVIS_FOCUSED. This style was never implemented and is no longer defined.

RESOLUTION

Remove any reference to this symbol from your program and recompile your application.

STATUS

This behavior is by design.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbCtrl kberrmsg kbprb kbTreeView KB166471