Microsoft KB Archive/102155

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


DOC: BN_DISABLE and BN_DOUBLECLICKED Documented Incorrectly

Article ID: 102155

Article Last Modified on 12/2/2003



APPLIES TO

  • Microsoft Visual C++ 1.0 Professional Edition
  • Microsoft Visual C++ 1.5 Professional Edition
  • Microsoft Visual C++ 2.0 Professional Edition
  • Microsoft Visual C++ 4.0 Standard Edition
  • Microsoft Visual C++ 4.1 Subscription



This article was previously published under Q102155


SUMMARY

According to the online help, an application should not process either the BN_DISABLE or BN_DOUBLECLICKED notification. The documentation recommends that new applications should use the BS_OWNERDRAW button style and information in the DRAWITEMSTRUCT structure.

These statements are incorrect and should be ignored. Even though an application can create the same behavior using an owner-draw button, it is not necessary to do so.

Keywords: kbdocerr kbarttypeinf KB102155