Knowledge Base

PRB: C2065 Error on TVIS_FOCUSED

Article ID: 166471

Article Last Modified on 7/11/2005


APPLIES TO


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.

Additional query words: Commctrl TVIS_FOCUSED afxcmn.h

Keywords: kberrmsg kbtreeview kbprb kbctrl KB166471