show method
[This documentation is preliminary and is subject to change.]
Displays a pop-up window on the screen.
This method is not supported for Metro style apps using JavaScript.
Syntax
HRESULT retVal = object.show(x, y, w, h, pElement);
Standards information
There are no standards that apply here.
Parameters
x [in]
Type: longLong integer that specifies the x-coordinate of the pop-up window, in pixels.
y [in]
Type: longLong integer that specifies the y-coordinate of the pop-up window, in pixels.
w [in]
Type: longLong integer that specifies the width of the pop-up window, in pixels.
h [in]
Type: longLong integer that specifies the height of the pop-up window, in pixels.
pElement [in, optional]
Type: VARIANTPointer to a VARIANT that specifies the element to which the x andy coordinates are relative. If none is given, the x and y coordinates are relative to the desktop, where (0,0) is the upper left corner.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A popup object is set to the same zoom level as the parent window.
Windows Internet Explorer 8. Pop-up windows zoom by default; this behavior cannot be changed. This only applies to pop-up windows created with IHTMLWindow4::createPopup.
See also
Reference
Conceptual
Build date: 6/12/2012