CButton.SetStylemethod
Sets the style of a button.
Syntax
SUB SetStyle (BYVAL hButton AS HWND, BYVAL dwStyle AS DWORD, BYVAL fRedraw AS BOOLEAN)
Parameters
| Name | Description | |
|---|---|---|
dwStyle | The button style. This parameter can be a combination of button styles. | |
fRedraw | A BOOLEAN that specifies whether the button is to be redrawn. A value of TRUE redraws the button; a value of FALSE does not redraw the button. |
Description
Sets the style of a button.
For a table of button styles, see Button Styles.
Reference
- Include file
CButton.inc - Defined in AfxNova/CButton.inc:372
- Documented in Windows/WIndows Controls/CButton Class.md
- Topic: CButton Class