I am using a ToolTip control in my project. I want to set its backcolor red. I have changed ownerdraw property to true and backcolor to red. But no result. Any suggestion?
Regards, skpaul.
I am using a ToolTip control in my project. I want to set its backcolor red. I have changed ownerdraw property to true and backcolor to red. But no result. Any suggestion?
Regards, skpaul.
Add Event to toolstrip and set OwnerDraw to true:
Then do add a method for Draw Event:
Set these propeties:
then on the Draw event use this :
When you set a Control to OwnerDraw, you have to handle the drawing of the control yourself.
Here's a quick and dirty example (adapt to your taste):
Cheers