Export (0) Print
Expand All

IUIContextualUI::ShowAtLocation method

Displays a ContextPopup.

Syntax


HRESULT ShowAtLocation(
  INT32 x,
  INT32 y
);

Parameters

x

Type: INT32

The absolute x-coordinate, in screen coordinates, for the upper-left corner of the ContextPopup.

y

Type: INT32

The absolute y-coordinate, in screen coordinates, for the upper-left corner of the ContextPopup.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The location of the ContextPopup is not based on the screen coordinates of the application window or the mouse pointer.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Product

Windows UI

Header

Uiribbon.h

IDL

Uiribbon.idl

DLL

Mshtml.dll

See also

IUIContextualUI
Context Popup
ContextPopup Sample

 

 

Community Additions

ADD
Show:
© 2015 Microsoft