Article View: comp.windows.ms.programmer
Article #2825BS_USERBUTTON vs. BS_OWNERDRAW
From: Tim Hunter
Date: Thu, 23 May 1991 20:47
Date: Thu, 23 May 1991 20:47
12 lines
1080 bytes
1080 bytes
Apparently there are two kinds of "owner draw" buttons in Windows 3.0. Petzold documents the BS_USERBUTTON style but not the BS_OWNERDRAW style. The SDK documentation describes the BS_OWNERDRAW style but not the BS_USERBUTTON style. The BS_USERBUTTON style seems slightly less functional. I'm new to Windows programming, but my guess is that the BS_USERBUTTON style was present in earlier releases of Windows and has been superceded by the BS_OWNERDRAW style. Am I right? Does anybody know some history behind the two styles? More importantly, is there any reason to prefer the BS_OWNERDRAW style if the BS_USERBUTTON style provides sufficient functionality? Known bugs, etc.?
Technical Details
Message-ID:
<91143.164739SASTPH@vm.sas.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!emory!gatech!mcnc!rti!mozart!vm.sas.com!sastphShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!emory!gatech!mcnc!rti!mozart!vm.sas.com!sastph From: SASTPH@vm.sas.com (Tim Hunter) Newsgroups: comp.windows.ms.programmer Subject: BS_USERBUTTON vs. BS_OWNERDRAW Message-ID: <91143.164739SASTPH@vm.sas.com> Date: 23 May 91 20:47:39 GMT Organization: SAS Institute Inc. Lines: 12