This document is archived and information here might be outdated. Recommended version. |
Pops up the ToolbarPalette at the position specified.
[Visual Basic .NET]
Public Sub PopupPalette ( _
ByVal X As Integer, _
ByVal Y As Integer, _
ByVal hWndParent As Integer _
)
[C#]
public void PopupPalette (
int X,
int Y,
int hWndParent
);
[C++]
HRESULT PopupPalette(
Long X,
Long Y,
long hWndParent
);
[C++] Parameters X [in]
X is a parameter of type int Y [in]
Y is a parameter of type int hWndParent [in]
hWndParent is a parameter of type long
Creates a popup palette of the ToolbarPalette at the specified coordinates, supplied in pixels, relative to the top left of the parent window handle hWndParent .
The PopupPalette method is called automatically if the ToolbarPalette is hosted on the ToolbarControl, and the user has clicked on the palette item. In such cases the ToolbarPalette pops up just below the item.
If the ToolbarPalette is a standalone popup palette use the SetHook method, and optionally share the CommandPool with an existing one within the application.