Button and Static Control Styles Are Not InclusiveLast reviewed: November 2, 1995Article ID: Q74297 |
The information in this article applies to:
The class-specific window styles for button controls (BS_*) are mutually exclusive, as are the class-specific window styles for static controls (SS_*). In other words, they cannot be OR'd together as can most styles for edit controls, list boxes, and combo boxes. For example, the following style is invalid:
BS_OWNERDRAW | BS_AUTORADIOBUTTONA button control is either owner-draw or it is not. In the same manner, the following style is also invalid:
SS_LEFT | SS_GRAYFRAMEWINDOWS.H defines button and static styles sequentially (1, 2, 3...), instead of as individual bits (1, 2, 4...) as other control's styles are defined. If sequential styles are OR'd together, the resulting style may be completely different from that intended.
|
Additional reference words: 3.00 3.10 3.50 4.00 95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |