I have a WebPage that presents a WebDialog where I'm trying to use the MouseDown event. The problem is the X and Y parameters sent to Mouse down seem to use absolute coordinates instead of relative coordinates to the WebDialog. The WebDialog is automatically centered in the Browser window so the X and Y coordinates are meaningless unless you can determine the browser width.
WebPage has a Width and Height property, but the browser window can be smaller than the WebPage it displays.
Does anyone know how to determine the actual browser width and height?
Alternatively, does anyone know how to get the local X and Y coordinates clicked within a WebDialog from the X, Y fields of the MouseDown event?