A
Alex Clark
Hi all,
I'm handling all the painting for a ToolStrip in my app due to some
specialised requirements. Most of it has been relatively easy with a bit of
trial error, but I've hit a stumbling block when trying to draw a
ToolStripSplitButton.
I'm overriding the OnRenderSplitButtonBackground sub, and I *do* call
MyBase.OnRenderSplitButtonBackground(e), but I'm not getting the dropdown
chevron at all.
My ToolStripDropDownButtons paint the chevron themselves with no fuss, and
I'd really like to maintain consistency by keeping all the dropdown chevrons
identical.
I understand if I have to manually add the chevron myself, but is there a
predefined method for doing this? I checked through all of the ControlPaint
class and the SystemIcons class, but neither one appears to contain the
chevron for a ToolStripSplitButton's dropdown.
TIA,
~Alex
I'm handling all the painting for a ToolStrip in my app due to some
specialised requirements. Most of it has been relatively easy with a bit of
trial error, but I've hit a stumbling block when trying to draw a
ToolStripSplitButton.
I'm overriding the OnRenderSplitButtonBackground sub, and I *do* call
MyBase.OnRenderSplitButtonBackground(e), but I'm not getting the dropdown
chevron at all.
My ToolStripDropDownButtons paint the chevron themselves with no fuss, and
I'd really like to maintain consistency by keeping all the dropdown chevrons
identical.
I understand if I have to manually add the chevron myself, but is there a
predefined method for doing this? I checked through all of the ControlPaint
class and the SystemIcons class, but neither one appears to contain the
chevron for a ToolStripSplitButton's dropdown.
TIA,
~Alex