As E.F. Nijboer said, if you have drawn your ellipse only on the
OnInitDialog
method, you have no chance to see it on the dialog: when
OnInitDialog
is called, the dialog is not yet visible, then after your initialization code the
OnPain
is called and your drawings are lost!
Here[
^] there is the
MSDN documentation about
ArcTo
...