Parameters
- g
- Graphics device interface for painting the header cell
- r
- Location and size of a rectangular region
- rectTextIn
- Rectangular region for the text
- backColor
- Background color of the header cell
- foreColor
- Color of the text
- font
- Font of the text
- halign
- Horizontal alignment of the text
- valign
- Vertical alignment of the text
- pressed
- Whether to paint the header cell as pressed
- focus
- Whether the header cell has focus
- text
- Text to display in the header cell
- textDown
- Text to display in the header cell when pressed
- nAlign
- Alignment of the text and image in the header cell
- textOrientation
- Orientation of the text with respect to the button picture in the header cell
- wordWrap
- Whether to wrap text to multiple lines
- shadowSize
- Size of the shadow
- darkColor
- Dark color
- lightColor
- Light color
- pictUp
- Picture to display when the button is not pressed
- pictDown
- Picture to display when the button is pressed
- bLocked
- Whether the button is locked
- prefix
- Letter to underline as a hotkey prefix
- style
- Visual styles setting
- mouseOver
- Whether the mouse is over the header cell
- rightToLeft
- Whether to draw as right-to-left
- appearance
- Appearance settings of the header cell
- textRotationAngle
- Text rotation angle