G
Guest
i need to draw a close button within my tabbed MDI application. (i'm using c# with windows forms app)
i tried using ControlPaint.DrawCaptionButton(), this lead to 2 problems. 1) i couldnt get the button to paint using windows xp styles so it would be red etc. 2) ButtonState.* doesnt seem to support a hover state, which i use in all my other buttons.
so, my question is, how do i make my own button which emulates the caption close button using windows xp styles?
tyia
i tried using ControlPaint.DrawCaptionButton(), this lead to 2 problems. 1) i couldnt get the button to paint using windows xp styles so it would be red etc. 2) ButtonState.* doesnt seem to support a hover state, which i use in all my other buttons.
so, my question is, how do i make my own button which emulates the caption close button using windows xp styles?
tyia