2.2.6.9.3 DhtmlControl::CreatePopup


Version

Minimum Origin Version Required: Origin 9.1 SR0

Description

Creates a HTML popup window

Syntax

BOOL CreatePopup( HWND hWndParent, RECT * lpRect )

Parameters

hWndParent
[input]A handle to the parent or owner window of the window being created
lpRect
[input]The size and location of the window.

Return

Returns TRUE on success, FALSE on failure.

Examples

EX1

void CreatePopup_ex1(DhtmlControl& dhtmlctrl)
{
    RECT rect = {0,0,500,500};
    dhtmlctrl.CreatePopup(GetWindow(), &rect);
}

Remark

See Also

Header to Included

Control.h