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
- Cell's backcolor
- foreColor
- Color of the text
- font
- Font of the text
- halign
- Horizontal alignment of the text
- valign
- Vertical alignment of the text
- pressed
- State of the header being pressed
- focus
- Whether in focus
- text
- Text to display in the header
- textDown
- Text to display in the header when pressed
- nAlign
- Alignment of the text and image
- textOrientation
- Orientation of the text with respect to the button picture in the header
- 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
- mouseOver
- Whether the mouse is over the cell
- rightToLeft
- Whether drawing right to left
- appearance
- Appearance settings of the header cell
- textRotationAngle
- Text rotation angle