S
Saurabh
Hi All,
I have added my own button in the titlebar of a form next to the close
button. Everything works fine but when I resize the dialog, the button does
not get redrawn at a correct location.
I calculate the button position relative to the close button and draw a
button using ControlPaint, but if i increase the size of the form briskly,
the distance between the close button and my button increases till the next
redraw. If i reduce the width of the form by dragging the border inwards, my
button gets drawn overlapping on the close button. I want my button to be at
a fixed position relative to the close button. Is there any way to achieve
this?
TIA,
--Saurabh
I have added my own button in the titlebar of a form next to the close
button. Everything works fine but when I resize the dialog, the button does
not get redrawn at a correct location.
I calculate the button position relative to the close button and draw a
button using ControlPaint, but if i increase the size of the form briskly,
the distance between the close button and my button increases till the next
redraw. If i reduce the width of the form by dragging the border inwards, my
button gets drawn overlapping on the close button. I want my button to be at
a fixed position relative to the close button. Is there any way to achieve
this?
TIA,
--Saurabh