I embed an ActiveX object in an HTML page. The ActiveX object immediately opens an MFC dialog. I want to center this dialog.
The CenterWindow(NULL ) function in the code does not work, nor does writing CENTER before/after the OBJECT or SCRIPT tabs in the HTML.
My code looks like this:
What should I do in order to center the AcitveX's dialog?
P.S. - the subsequent dialogs open in the center of the window - no problems here.