Hello,

I'm working on an assignment from school and i'm stuck... I'm working on VC++ 6.0 and I need to center a dialog box with a click of a button after it's been moved. Can anybody help me by giving me a starting point? I know it has something to do with math but i just don't know where to start.

I really appreciate it.