Windows Dev Center

IDockingWindowSite::SetBorderSpaceDW method

Allocates and reserves border space for an IDockingWindow object.

Syntax


HRESULT SetBorderSpaceDW(
  [in] IUnknown        *punkObj,
  [in] LPCBORDERWIDTHS pbw
);

Parameters

punkObj [in]

Type: IUnknown*

A pointer to the IDockingWindow object for which the border space is being set.

pbw [in]

Type: LPCBORDERWIDTHS

A pointer to a BORDERWIDTHS structure that contains the coordinates of the IDockingWindow object's border space. The border space should be approved through a successful call to the IDockingWindowSite::RequestBorderSpaceDW method before SetBorderSpaceDW is called with these coordinates.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 4.71 or later)

See also

IDockingWindowSite
IDockingWindowFrame

 

 

Community Additions

ADD
Show:
© 2015 Microsoft