void enuSetWindowPos() method
void enuSetWindowPos(
[in] HVIEW hView,
[in] int x,
[in] int y,
[in] cx,
[in] cy
};
Parameters
hView [in]
Type:HVIEW
enuSpace View Handle
x [in]
Type:int
뷰의 포지션 (x)
y [in]
Type:int
뷰의 포지션 (y)
cx [in]
Type:int
뷰의 Width (cx)
cy [in]
Type:int
뷰의 Height (cy)
Return value
Type : void
Remarks
enuSpace SDK를 이용시, 랜더러 뷰의 위치를 설정하는 함수.
Examples
enuSpace SDK
HVIEW ViewHandle = NULL;
void CSampleView::OnInitialUpdate()
{
CView::OnInitialUpdate();
enuCreateProject();
enuLoadProjectFile(L"Project\\sample.enup");
ViewHandle = enuCreateView(this->m_hWnd);
RECT rect;
GetClientRect(&rect);
enuSetWindowPos(ViewHandle , rect.left, rect.top, rect.right, rect.bottom);
}
Reference
'enuSpace SDK API > enuSpace SDK API 2D' 카테고리의 다른 글
| enuSpace :: enuNewSvgPageFile() (0) | 2016.02.23 |
|---|---|
| enuSpace :: enuSetViewID() (0) | 2016.02.23 |
| enuSpace :: enuSetSelectObject() (0) | 2016.02.17 |
| enuSpace :: enuSetSelectZOrder() (0) | 2016.02.17 |
| enuSpace :: enuAddSelectObjectByNode() (0) | 2016.02.17 |