Microsoft KB Archive/102155

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:02, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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