PRB: C2065 Error on TVIS_FOCUSED

ID: Q166471


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)


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.

Additional query words: Commctrl TVIS_FOCUSED afxcmn.h

Keywords : kberrmsg kbCtrl kbTreeView kbGrpUser
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.