Microsoft KB Archive/166471

{|
 * width="100%"|

PRB: C2065 Error on TVIS_FOCUSED

 * }

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 kbGrpDSUser

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch