|
Owner-Drawn Buttons
Unlike radio buttons, an owner-drawn button is painted by the application, not by Windows, and has no predefined
appearance or usage. Its purpose is to provide a button whose appearance and behavior
are defined by the application alone. There is only one owner-drawn button
style: BS_OWNERDRAW.
When the user selects an owner-drawn button, Windows sends the button's parent
window a WM_COMMAND message containing the BN_CLICKED notification code, just as it does for a button that is not owner-drawn. The
application must respond appropriately.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|